[Issue 2388] New: type of NaN given by real.nan not specified

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Oct 3 08:46:00 PDT 2008


http://d.puremagic.com/issues/show_bug.cgi?id=2388

           Summary: type of NaN given by real.nan not specified
           Product: D
           Version: 1.035
          Platform: PC
        OS/Version: All
            Status: NEW
          Keywords: spec
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: kamm-removethis at incasoftware.de


DMD gives you a quiet not-a-number for float.nan and some code relies on it.
The spec page on properties should say so.

We noticed this because LLVM defaults to a signaling NaN and that made the
unittest of tango.math.IEEE fail with LLVMDC.


-- 



More information about the Digitalmars-d-bugs mailing list