mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-30 05:31:39 +00:00
include: Define frexpf as inline function in more cases.
This commit is contained in:
parent
dea96222b4
commit
f5a739ce62
|
@ -159,7 +159,6 @@ _ACRTIMP float __cdecl powf(float, float);
|
|||
_ACRTIMP float __cdecl sqrtf(float);
|
||||
_ACRTIMP float __cdecl ceilf(float);
|
||||
_ACRTIMP float __cdecl floorf(float);
|
||||
_ACRTIMP float __cdecl frexpf(float, int*);
|
||||
_ACRTIMP float __cdecl modff(float, float*);
|
||||
_ACRTIMP float __cdecl fmodf(float, float);
|
||||
|
||||
|
@ -186,7 +185,6 @@ static inline float powf(float x, float y) { return pow(x, y); }
|
|||
static inline float sqrtf(float x) { return sqrt(x); }
|
||||
static inline float ceilf(float x) { return ceil(x); }
|
||||
static inline float floorf(float x) { return floor(x); }
|
||||
static inline float frexpf(float x, int *y) { return frexp(x, y); }
|
||||
static inline float modff(float x, float *y) { double yd, ret = modf(x, &yd); *y = yd; return ret; }
|
||||
static inline float fmodf(float x, float y) { return fmod(x, y); }
|
||||
|
||||
|
@ -209,6 +207,12 @@ static inline int _fpclassf(float x)
|
|||
|
||||
#endif
|
||||
|
||||
#if (defined(__x86_64__) && !defined(_UCRT)) || defined(_NO_CRT_MATH_INLINE)
|
||||
_ACRTIMP float __cdecl frexpf(float, int*);
|
||||
#else
|
||||
static inline float frexpf(float x, int *y) { return frexp(x, y); }
|
||||
#endif
|
||||
|
||||
#if (!defined(__i386__) && !defined(__x86_64__) && (_MSVCR_VER == 0 || _MSVCR_VER >= 110)) || defined(_NO_CRT_MATH_INLINE)
|
||||
_ACRTIMP float __cdecl fabsf(float);
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue