Commit cc902bce authored by Grazvydas Ignotas's avatar Grazvydas Ignotas Committed by Alexandre Julliard

include: Use fabsf implementation when available.

parent b3194e04
...@@ -120,13 +120,13 @@ float __cdecl fmodf(float, float); ...@@ -120,13 +120,13 @@ float __cdecl fmodf(float, float);
#define sqrtf(x) ((float)sqrt((double)(x))) #define sqrtf(x) ((float)sqrt((double)(x)))
#define ceilf(x) ((float)ceil((double)(x))) #define ceilf(x) ((float)ceil((double)(x)))
#define floorf(x) ((float)floor((double)(x))) #define floorf(x) ((float)floor((double)(x)))
#define fabsf(x) ((float)fabs((double)(x)))
#define frexpf(x) ((float)frexp((double)(x))) #define frexpf(x) ((float)frexp((double)(x)))
#define modff(x,y) ((float)modf((double)(x), (double*)(y))) #define modff(x,y) ((float)modf((double)(x), (double*)(y)))
#define fmodf(x,y) ((float)fmod((double)(x), (double)(y))) #define fmodf(x,y) ((float)fmod((double)(x), (double)(y)))
#endif #endif
#define fabsf(x) ((float)fabs((double)(x)))
#define ldexpf(x,y) ((float)ldexp((double)(x),(y))) #define ldexpf(x,y) ((float)ldexp((double)(x),(y)))
float __cdecl _hypotf(float, float); float __cdecl _hypotf(float, float);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment