math.h: Provide copysign declaration for ucrt.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
feature/deterministic
Jacek Caban 2020-05-22 17:16:43 +02:00 committed by Alexandre Julliard
parent ff9b2936ed
commit 073016ecd4
1 changed files with 5 additions and 0 deletions

View File

@ -182,8 +182,13 @@ static inline int _fpclassf(float x) { return _fpclass(x); }
static inline float ldexpf(float x, int y) { return ldexp(x, y); }
#ifdef _UCRT
_ACRTIMP double __cdecl copysign(double, double);
_ACRTIMP float __cdecl copysignf(float, float);
#else
#define copysign(x,y) _copysign(x,y)
#define copysignf(x,y) _copysignf(x,y)
#endif
double __cdecl nearbyint(double);
float __cdecl nearbyintf(float);