Bug 21900 – std.format: round to even does not work for hex integers with letters

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2021-05-07T13:12:16Z
Last change time
2021-05-10T07:50:36Z
Keywords
pull
Assigned to
No Owner
Creator
Berni44

Comments

Comment #0 by bugzilla — 2021-05-07T13:12:16Z
assert(format!"%.1a"(472) == "0x1.ep+08");
Comment #1 by dlang-bot — 2021-05-07T13:26:41Z
@berni44 created dlang/phobos pull request #8049 "Fix Issue 21900 - std.format: round to even does not work for hex integers with letters" fixing this issue: - Fix Issue 21900 - std.format: round to even does not work for hex integers with letters https://github.com/dlang/phobos/pull/8049
Comment #2 by dlang-bot — 2021-05-10T07:50:36Z
dlang/phobos pull request #8049 "Fix Issue 21900 - std.format: round to even does not work for hex integers with letters" was merged into master: - 430d506d35a4e3cb8ec47259b4a0a3d296130446 by berni44: Fix Issue 21900 - std.format: round to even does not work for hex integers with letters https://github.com/dlang/phobos/pull/8049