1 //Standard C++ math declarations
8 // Get rid of those macros defined in <math.h> in lieu of real functions.
40 { return fabsf(__x); }
44 { return fabsl(__x); }
48 { return acosf(__x); }
52 { return acosl(__x); }
56 { return asinf(__x); }
60 { return asinl(__x); }
64 { return atanf(__x); }
68 { return atanl(__x); }
71 atan2(float __y, float __x)
72 { return atan2f(__y, __x); }
75 atan2(long double __y, long double __x)
76 { return atan2l(__y, __x); }
80 { return ceilf(__x); }
84 { return ceill(__x); }
96 { return coshf(__x); }
100 { return coshl(__x); }
104 { return expf(__x); }
108 { return expl(__x); }
112 { return fabsf(__x); }
115 fabs(long double __x)
116 { return fabsl(__x); }
120 { return floorf(__x); }
123 floor(long double __x)
124 { return floorl(__x); }
127 fmod(float __x, float __y)
128 { return fmodf(__x, __y); }
131 fmod(long double __x, long double __y)
132 { return fmodl(__x, __y); }
135 frexp(float __x, int* __exp)
136 { return frexpf(__x, __exp); }
139 frexp(long double __x, int* __exp)
140 { return frexpl(__x, __exp); }
143 ldexp(float __x, int __exp)
144 { return ldexpf(__x, __exp); }
147 ldexp(long double __x, int __exp)
148 { return ldexpl(__x, __exp); }
152 { return logf(__x); }
156 { return logl(__x); }
160 { return log10f(__x); }
163 log10(long double __x)
164 { return log10l(__x); }
167 modf(float __x, float* __iptr)
168 { return modff(__x, __iptr); }
171 modf(long double __x, long double* __iptr)
172 { return modfl(__x, __iptr); }
175 pow(float __x, float __y)
176 { return powf(__x, __y); }
179 pow(long double __x, long double __y)
180 { return powl(__x, __y); }
183 pow(double __x, int __i)
184 { return pow(__x, static_cast<double>(__i)); }
187 pow(float __x, int __n)
188 { return powf(__x, static_cast<float>(__n)); }
191 pow(long double __x, int __n)
192 { return powl(__x, static_cast<long double>(__n)); }
196 { return sinf(__x); }
200 { return sinl(__x); }
204 { return sinhf(__x); }
207 sinh(long double __x)
208 { return sinhl(__x); }
212 { return sqrtf(__x); }
215 sqrt(long double __x)
216 { return sqrtl(__x); }
220 { return tanf(__x); }
224 { return tanl(__x); }
228 { return tanhf(__x); }
231 tanh(long double __x)
232 { return tanhl(__x); }