mirror of
https://github.com/reactos/wine.git
synced 2025-02-02 10:12:01 +00:00
d3dx9_36: Use copysignf() instead of signbit().
This commit is contained in:
parent
7379f31e4b
commit
a369b2bd63
@ -1776,7 +1776,7 @@ static inline unsigned short float_32_to_16(const float in)
|
||||
{
|
||||
int exp = 0, origexp;
|
||||
float tmp = fabs(in);
|
||||
int sign = signbit(in);
|
||||
int sign = (copysignf(1, in) < 0);
|
||||
unsigned int mantissa;
|
||||
unsigned short ret;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user