https://bugs.winehq.org/show_bug.cgi?id=52393
--- Comment #34 from labre@posteo.de --- Tried a few things without success:
ā Returning 0.0 instead of sign * 0.0 does not fix it. ā Result is the same between patched and unpatched.
TRACE("result is now %f", result) return result;
gives zero differences after sort | uniq for both outputs.
ā Had the assumption, that the code flow might be changed by a floating exception, e.g. not returning 0.0, but unpatched always emits traces before and after the calculation. So Iām not sure, what the _control87 function does, even after looking up the Microsoft docs. Is there a way to catch occurring floating exceptions with gdb? I have no experience with it, but I could find some tutorials.