summaryrefslogtreecommitdiff
path: root/pkgtools/posix_headers/files/math.h
blob: d1967d51903d69df64d275ab129223382c57ab56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* $NetBSD: math.h,v 1.2 2007/04/24 23:12:44 tnn Exp $ */
#ifndef _PKGSRC_MATH_H_
#define _PKGSRC_MATH_H_
#include "@REAL_HEADER@"
#ifdef __hpux
/* Floatified math functions are not available. */
#define floorf(x)	((float)floor (x))
#define ceilf(x)	((float)ceil (x))
#define sinf(x)		((float)sin (x))
#define cosf(x)		((float)cos (x))
#define tanf(x)		((float)tan (x))
#define asinf(x)	((float)asin (x))
#define acosf(x)	((float)acos (x))
#define atanf(x)	((float)atan (x))
#define atan2f(x,y)	((float)atan2 (x, y))
#define sqrtf(x)	((float)sqrt (y))
#endif /* __hpux */
#endif /* _PKGSRC_MATH_H_ */