https://bugs.winehq.org/show_bug.cgi?id=48324
--- Comment #7 from Roman Pišl rpisl@seznam.cz --- Created attachment 66074 --> https://bugs.winehq.org/attachment.cgi?id=66074 msvcrt/string - added tests
I can confirm that the patch works and tests succeed in both wine32 and wine64.
However.. ;-) .. there is an analogical problem with FLT_MIN. See attached tests that succeed on Windows and also on Linux/gcc but fail on Wine (the two that compare FLT_MIN).
Again, 1.1754943508222875e-38 is a common representation of minimal float and that should probably also directly compare to FLT_MIN in the double representation. But maybe I'm digging too deeply..