view src/flac/fast_float_math_hack.h @ 997:e46b98155d5d trunk

[svn] - fix a bug which counts number of frames twice in handling xing header. - now fileinfo dialog calculates play length even though TLEN tag exists so that it can overwrite wrong TLEN tag.
author yaz
date Tue, 01 May 2007 12:49:27 -0700
parents 454ad11020ec
children
line wrap: on
line source

#   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