comparison src/flac/fast_float_math_hack.h @ 722:454ad11020ec trunk

[svn] * Delete flac112 * Rename flac113 -> flac * Change configure.ac
author js
date Sat, 24 Feb 2007 16:17:26 -0800
parents src/flac113/fast_float_math_hack.h@117bc56d906b
children
comparison
equal deleted inserted replaced
721:574de61036a3 722:454ad11020ec
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