Mercurial > audlegacy-plugins
comparison src/flac113/fast_float_math_hack.h @ 103:117bc56d906b trunk
[svn] flac -> flac113
| author | nenolod |
|---|---|
| date | Mon, 23 Oct 2006 19:51:39 -0700 |
| parents | src/flac/fast_float_math_hack.h@3da1b8942b8b |
| children |
comparison
equal
deleted
inserted
replaced
| 102:aff1cf3e86dd | 103:117bc56d906b |
|---|---|
| 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 |
