18 #ifdef POK_NEEDS_LIBMATH
20 #ifndef __POK_LIBM_H__
21 #define __POK_LIBM_H__
37 #define FP_SUBNORMAL 4
48 #define fpclassify(x) (sizeof (x) == sizeof(float ) ? __fpclassifyf((float)(x)) : __fpclassifyd((double)(x)))
50 extern int __fpclassifyf(
float );
51 extern int __fpclassifyd(
double );
52 extern int __fpclassify (
long double);
55 double acos(
double x);
57 double acosh(
double x);
58 float acoshf(
float x);
59 double asin(
double x);
61 double asinh(
double x);
62 float asinhf(
float x);
63 double atan(
double x);
65 double atan2(
double y,
double x);
66 float atan2f(
float y,
float x);
67 double atanh(
double x);
68 float atanhf(
float x);
69 double cbrt(
double x);
71 double ceil(
double x);
73 double copysign(
double x,
double y);
74 float copysignf(
float x,
float y);
77 double cosh(
double x);
79 double drem(
double x,
double y);
80 float dremf(
float x,
float y);
85 double expm1(
double x);
86 float expm1f(
float x);
87 double fabs(
double x);
91 double floor(
double x);
92 float floorf(
float x);
93 double frexp(
double x,
int *eptr);
94 float frexpf(
float x,
int *eptr);
95 double gamma(
double x);
96 float gammaf(
float x);
97 double gamma_r(
double x,
int *signgamp);
98 float gammaf_r(
float x,
int *signgamp);
99 double hypot(
double x,
double y);
100 float hypotf(
float x,
float y);
111 double jn(
int n,
double x);
112 float jnf(
int n,
float x);
113 double ldexp(
double value,
int exp0);
114 float ldexpf(
float value,
int exp0);
115 double lgamma(
double x);
116 float lgammaf(
float x);
117 double lgamma_r(
double x,
int *signgamp);
118 float lgammaf_r(
float x,
int *signgamp);
119 double log(
double x);
121 double log10(
double x);
122 float log10f(
float x);
123 double log2(
double x);
124 float log2f(
float x);
125 double logb(
double x);
126 float logbf(
float x);
127 double log1p(
double x);
128 float log1pf(
float x);
129 double ldexp(
double value,
int exp0);
130 float ldexpf(
float value,
int exp0);
132 float modff(
float x,
float *iptr);
133 double modf(
double x,
double *iptr);
134 double nextafter(
double x,
double y);
135 float nextafterf(
float x,
float y);
136 double pow(
double x,
double y);
137 float powf(
float x,
float y);
138 double remainder(
double x,
double y);
139 float remainderf(
float x,
float y);
141 double scalb(
double x,
int fn);
143 double scalb(
double x,
double fn);
146 float scalbf(
float x,
int fn);
148 float scalbf(
float x,
float fn);
150 double rint(
double x);
151 float rintf(
float x);
152 double round(
double x);
153 float roundf(
float x);
154 double scalbn(
double x,
int n);
155 float scalbnf(
float x,
int n);
156 double significand(
double x);
157 float significandf(
float x);
158 double sin(
double x);
160 double sinh(
double x);
161 float sinhf(
float x);
162 double sqrt(
double x);
163 float sqrtf(
float x);
164 double tan(
double x);
166 double tanh(
double x);
167 float tanhf(
float x);
168 double trunc(
double x);
169 float truncf(
float x);