diff options
Diffstat (limited to '3rdparty/libflac/src/share/replaygain_synthesis/include/private/fast_float_math_hack.h')
-rw-r--r-- | 3rdparty/libflac/src/share/replaygain_synthesis/include/private/fast_float_math_hack.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/3rdparty/libflac/src/share/replaygain_synthesis/include/private/fast_float_math_hack.h b/3rdparty/libflac/src/share/replaygain_synthesis/include/private/fast_float_math_hack.h new file mode 100644 index 00000000000..d8608fc444b --- /dev/null +++ b/3rdparty/libflac/src/share/replaygain_synthesis/include/private/fast_float_math_hack.h @@ -0,0 +1,39 @@ +# ifdef __ICL /* only Intel C compiler has fmath ??? */ + + #include <mathf.h> + +/* Nearest integer, absolute value, etc. */ + + #define ceil ceilf + #define fabs fabsf + #define floor floorf + #define fmod fmodf + #define rint rintf + #define hypot hypotf + +/* Power functions */ + + #define pow powf + #define sqrt sqrtf + +/* Exponential and logarithmic functions */ + + #define exp expf + #define log logf + #define log10 log10f + +/* Trigonometric functions */ + + #define acos acosf + #define asin asinf + #define atan atanf + #define cos cosf + #define sin sinf + #define tan tanf + +/* Hyperbolic functions */ + #define cosh coshf + #define sinh sinhf + #define tanh tanhf + +# endif |