Thread overview
[Issue 5229] Inaccurate parsing of floating-point literals
Sep 16, 2017
Walter Bright
Aug 09, 2020
Walter Bright
Aug 09, 2020
Walter Bright
Dec 17, 2022
Iain Buclaw
June 09, 2015
https://issues.dlang.org/show_bug.cgi?id=5229

Andrei Alexandrescu <andrei@erdani.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|D1 & D2                     |D2

--
September 16, 2017
https://issues.dlang.org/show_bug.cgi?id=5229

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla@digitalmars.com

--- Comment #6 from Walter Bright <bugzilla@digitalmars.com> ---
Digital Mars C (i.e. snn.lib) uses an older method to convert strings to floating point numbers. Newer, slightly more accurate methods have become available since it was written, but I've never gotten around to implementing them.

This error is likely related to that.

If the error doesn't occur with DMD on other platforms, like Linux, then this is almost certainly the culprit.

Note that the DMD compiler itself uses the C runtime conversion routine for its lexer.

--
August 09, 2020
https://issues.dlang.org/show_bug.cgi?id=5229

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=20951

--
August 09, 2020
https://issues.dlang.org/show_bug.cgi?id=5229

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=20972

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=5229

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P3

--