OSDN Git Service

wwww
[proj16/16.git] / src / lib / doslib / ext / flac / fast_float_math_hack.h
1 #   ifdef __ICL /* only Intel C compiler has fmath ??? */
2
3     #include <mathf.h>
4
5 /* Nearest integer, absolute value, etc. */
6
7     #define ceil ceilf
8     #define fabs fabsf
9     #define floor floorf
10     #define fmod fmodf
11     #define rint rintf
12     #define hypot hypotf
13
14 /* Power functions */
15
16     #define pow powf
17     #define sqrt sqrtf
18
19 /* Exponential and logarithmic functions */
20
21     #define exp expf
22     #define log logf
23     #define log10 log10f
24
25 /* Trigonometric functions */
26
27     #define acos acosf
28     #define asin asinf
29     #define atan atanf
30     #define cos cosf
31     #define sin sinf
32     #define tan tanf
33
34 /* Hyperbolic functions */
35     #define cosh coshf
36     #define sinh sinhf
37     #define tanh tanhf
38
39 #   endif