Commit 4fd9daea authored by Martin Storsjo's avatar Martin Storsjo Committed by Alexandre Julliard

msvcrt: Make the sinhf function NAN preserving.

parent 36114325
......@@ -1699,7 +1699,10 @@ float CDECL sinhf( float x )
}
/* |x| > logf(FLT_MAX) or nan */
t = __expo2f(absx, 2 * h);
if (ui > 0x7f800000)
*(DWORD*)&t = *(DWORD*)&x | 0x400000;
else
t = __expo2f(absx, 2 * h);
return t;
}
......
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