Bug 21841 – std.format: grouping produces strange result with zero precision and %e

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

Comments

Comment #0 by bugzilla — 2021-04-18T10:24:09Z
assert("%0.0,e"(0.0) == "0e+00");
Comment #1 by dlang-bot — 2021-04-24T08:56:53Z
@berni44 created dlang/phobos pull request #8006 "std.format: Make formatting %e (and partly %g) 100% @nogc." fixing this issue: - Fix Issue 21841 - std.format: grouping produces strange result with zero precision and %e https://github.com/dlang/phobos/pull/8006
Comment #2 by dlang-bot — 2021-04-24T10:12:50Z
dlang/phobos pull request #8006 "std.format: Make formatting %e (and partly %g) 100% @nogc." was merged into master: - ac00658c002eaae78fbfe906b4199cd6302ee4b1 by berni44: Fix Issue 21841 - std.format: grouping produces strange result with zero precision and %e https://github.com/dlang/phobos/pull/8006