https://bugs.winehq.org/show_bug.cgi?id=48324
--- Comment #10 from Erich E. Hoover erich.e.hoover@gmail.com --- Would you check and see if commit 27b9a420ea87fd85c0c933b7db77a9efb22f94cf fixes this bug (FLT_MAX issue) for you?
(In reply to Roman Pišl from comment #9)
I understand and it sounds reasonable, but.. according to the standard: if a double-precision number is converted to a decimal string with at least 17 significant digits, and then converted back to double-precision representation, the final result must match the original number. This is violated in current implementation.
Really, if the GCC code were LGPL 2.1 then I'd just go grab that since it's well tested, but unfortunately GCC is GPL 3. Would you mind opening a separate bug for this and adding me to the CC list? We can probably get some "todo_wine" tests added now, but fixing it for real will probably need to wait until after code freeze is over (unless the solution is really compelling).