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

          Issue ID: 20357
           Summary: format should obey space flag when printing nan or inf
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: phobos
          Assignee: [email protected]
          Reporter: [email protected]

format("^%- 13,3.2f$", double.nan);

should be

^ nan         $

is

^nan          $

Same for inf.

--

Reply via email to