D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 21841 - std.format: grouping produces strange result with zero precision and %e
Summary: std.format: grouping produces strange result with zero precision and %e
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: phobos (show other issues)
Version: D2
Hardware: All All
: P1 normal
Assignee: No Owner
URL:
Keywords: pull
Depends on:
Blocks:
 
Reported: 2021-04-18 10:24 UTC by Berni44
Modified: 2021-04-24 10:12 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Berni44 2021-04-18 10:24:09 UTC
assert("%0.0,e"(0.0) == "0e+00");
Comment 1 Dlang Bot 2021-04-24 08:56:53 UTC
@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 Dlang Bot 2021-04-24 10:12:50 UTC
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