[Issue 20371] New: std.format limited to 500 characters for floats

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Nov 8 14:28:02 UTC 2019


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

          Issue ID: 20371
           Summary: std.format limited to 500 characters for floats
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: phobos
          Assignee: nobody at puremagic.com
          Reporter: bugzilla at d-ecke.de

The current implementation of std.format is limited to about 500 characters for
floating point types.

import std.format;

void main()
{
    assert(format!"%.600f"(0.1).length == 602);
}

--


More information about the Digitalmars-d-bugs mailing list