www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13581] New: disallow NaN as AA key value


          Issue ID: 13581
           Summary: disallow NaN as AA key value
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: code dawg.eu

There should be a runtime check in the AA code that prevents from using
floating point NaN as key value, as this value doesn't compare equal to itself.

Oct 06 2014