Bug 21840 – std.format: grouping ignores space flag with %e

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2021-04-18T10:20:17Z
Last change time
2021-04-24T10:12:49Z
Keywords
pull
Assigned to
No Owner
Creator
Berni44

Comments

Comment #0 by bugzilla — 2021-04-18T10:20:17Z
assert(format!"% 0,e"(0.0) == " 0.000000e+00");
Comment #1 by dlang-bot — 2021-04-24T08:56:52Z
@berni44 created dlang/phobos pull request #8006 "std.format: Make formatting %e (and partly %g) 100% @nogc." fixing this issue: - Fix Issue 21840 - std.format: grouping ignores space flag with %e https://github.com/dlang/phobos/pull/8006
Comment #2 by dlang-bot — 2021-04-24T10:12:49Z
dlang/phobos pull request #8006 "std.format: Make formatting %e (and partly %g) 100% @nogc." was merged into master: - ce00bcec6cf91a30a966af01936e06e01fd23b36 by berni44: Fix Issue 21840 - std.format: grouping ignores space flag with %e https://github.com/dlang/phobos/pull/8006