www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14718] New: float parsing depends on libc strtold precision

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

          Issue ID: 14718
           Summary: float parsing depends on libc strtold precision
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P3
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: code dawg.eu

On a debian-7.4 system with an older glibc version the following floating point
literals cannot be parsed because the compiler uses the platform strtold to
convert the number.

0x1p-1024
0x1p-128f

--
Jun 21 2015