Bug 16078 – %e (scientific notation) should be supported for all BigInt

Status
NEW
Severity
enhancement
Priority
P4
Component
phobos
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2016-05-26T12:08:11Z
Last change time
2024-12-01T16:26:58Z
Assigned to
No Owner
Creator
Seb
See also
https://issues.dlang.org/show_bug.cgi?id=3248
Moved to GitHub: phobos#10180 →

Comments

Comment #0 by greensunny12 — 2016-05-26T12:08:11Z
I expected the following to work: ``` import std.bigint; import std.stdio; void main() { writefln("%e", BigInt(100_000)); } ``` It turns out that "%e" is only supported for floating point types and even doesn't work for built-in int/long.
Comment #1 by bugzilla — 2021-04-21T17:43:18Z
I split this into BigInt / built-ins - see issue 21847.
Comment #2 by robert.schadek — 2024-12-01T16:26:58Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/phobos/issues/10180 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB