https://issues.dlang.org/show_bug.cgi?id=16078

          Issue ID: 16078
           Summary: %e (scientific notation) should be supported for all
                    integer-like types
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: [email protected]
          Reporter: [email protected]

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.

--

Reply via email to