[Issue 8530] Float types default initializers doesn't work in class

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Aug 10 03:00:37 PDT 2012


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


Jonathan M Davis <jmdavisProg at gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jmdavisProg at gmx.com


--- Comment #1 from Jonathan M Davis <jmdavisProg at gmx.com> 2012-08-10 03:00:35 PDT ---
If you want to check for NaN, then use std.math.isNaN. As I understand it,
there is no guarantee that two NaN values have the same bit pattern (at
minimum, you have signed and unsigned NaN, and there may be more variations - I
don't remember). isNaN returns true in both cases. So, I don't believe that
this is a bug.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list