[Issue 20357] New: format should obey space flag when printing nan or inf
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Nov 5 13:05:53 UTC 2019
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: nobody at puremagic.com
Reporter: bugzilla at d-ecke.de
format("^%- 13,3.2f$", double.nan);
should be
^ nan $
is
^nan $
Same for inf.
--
More information about the Digitalmars-d-bugs
mailing list