[PATCH v2] msvcrt: Make the cosh/sinh/tanh functions NAN preserving

Zebediah Figura (she/her) zfigura at codeweavers.com
Fri Jul 16 10:33:58 CDT 2021

On 7/16/21 7:05 AM, Martin Storsjo wrote:
> When a NAN is fed as input, return it as-is without mangling
> it through the calculation (which e.g. loses the sign of the
> input value).
> This fixes a regression in a testcase of mine, after switching
> to the internal implementation of these functions.

Maybe we could add such tests to Wine as well?

More information about the wine-devel mailing list