www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 21900] New: std.format: round to even does not work for hex

https://issues.dlang.org/show_bug.cgi?id=21900

          Issue ID: 21900
           Summary: std.format: round to even does not work for hex
                    integers with letters
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: bugzilla bernis-buecher.de

assert(format!"%.1a"(472) == "0x1.ep+08");

--
May 07