https://bugs.winehq.org/show_bug.cgi?id=52393
--- Comment #28 from Piotr Caban piotr.caban@gmail.com --- Created attachment 71737 --> https://bugs.winehq.org/attachment.cgi?id=71737 another approach on setting control word befory every operation on floats
(In reply to labre from comment #25)
Created attachment 71730 [details] Fixing patch against regression commit
You can also try the attached patch (to be applied on top of f99d307a3e1f9beb7fd9dc8892b5cfabbabf816b). Is it still fixing the regression? Is yes, it should be possible to find what part of the patch fixes it by commenting some control87 calls.
Taking in account what's in the logs I guess that: result = *((double*)&bits); assignment is causing problems.
Could you please attach msvcrt.dll (or msvcrt.dll.so in case of no-mingw build) from your build?