https://bugs.winehq.org/show_bug.cgi?id=48160
--- Comment #16 from Martin Storsjö martin@martin.st --- (In reply to Erich E. Hoover from comment #14)
(In reply to Martin Storsjö from comment #11)
... In any case, not relying on long double here would be great, as I've run into range issues with the current implementation on 32 bit arm, where long doubles in linux also are the same as regular ones.
Would you mind testing my patch where you have encountered a problem? The latest version is here (fixes a problem with the tests failing on the 32-bit Debian VM): https://source.winehq.org/patches/data/176017
I tested the one pushed to master yesterday, and it seems like it fixes the issue for me. Thanks!
For reference, the issue was strtod("9.8813e-324"), which is a denormal for 64 bit doubles - the previous strtod implementation that relied on long doubles being larger than 64 bit would return this as a plain zero.