digitalmars.D.bugs - [Issue 967] New: %f format is wrong for some values
- d-bugmail puremagic.com (16/16) Feb 15 2007 http://d.puremagic.com/issues/show_bug.cgi?id=967
- d-bugmail puremagic.com (10/10) Aug 12 2007 http://d.puremagic.com/issues/show_bug.cgi?id=967
http://d.puremagic.com/issues/show_bug.cgi?id=967 Summary: %f format is wrong for some values Product: D Version: unspecified Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: egorst gmail.com writefln("%0.4f",6666/1000000.0) gives 0.0066 instead of 0.0067 Reproduced with dmd on Windows (first known affected version is 0.102). Doesn't reproduced with gdc on Windows and with dmd on Linux. --
Feb 15 2007
http://d.puremagic.com/issues/show_bug.cgi?id=967 bugzilla digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX ------- Comment #1 from bugzilla digitalmars.com 2007-08-12 22:18 ------- DMD (and GDC) rely on the underlying C runtime library to handle %f formatting. I've refiled it as a bug with the DMC C compiler. --
Aug 12 2007