http://d.puremagic.com/issues/show_bug.cgi?id=5687

           Summary: std.string.format() error with "%a"
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nob...@puremagic.com
        ReportedBy: bugzi...@kyllingen.net


--- Comment #0 from Lars T. Kyllingstad <bugzi...@kyllingen.net> 2011-03-02 
23:23:44 PST ---
Magnus Lie Hetland wrote in D.learn:

I just noticed that writefln("%a", 1.2) writes 0x1.3333333333333p+0, while
writeln(format("%a", 1.2)) (that is, with std.string.format) writes
0x9.9999999999998p-3 ... wouldn't it be nice to be consistent here? (The former
is what printf in gcc gives.)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to