February 15, 2007 [Issue 967] New: %f format is wrong for some values | ||||
---|---|---|---|---|
| ||||
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. -- |
August 13, 2007 [Issue 967] %f format is wrong for some values | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | 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. -- |
Copyright © 1999-2021 by the D Language Foundation