www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 20371] New: std.format limited to 500 characters for floats

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 puremagic.com
          Reporter: bugzilla 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);
}

--
Nov 08 2019