comparison Plugins/Input/flac/fast_float_math_hack.h @ 61:fa848bd484d8 trunk

[svn] Move plugins to Plugins/
author nenolod
date Fri, 28 Oct 2005 22:58:11 -0700
parents
children
comparison
equal deleted inserted replaced
60:1771f253e1b2 61:fa848bd484d8
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