[Issue 5999] Inconsistent equality with array of NaNs between runtime and CTFE
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Jun 14 14:05:58 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5999
Paul D. Anderson <paul.d.anderson at comcast.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |paul.d.anderson at comcast.net
--- Comment #1 from Paul D. Anderson <paul.d.anderson at comcast.net> 2011-06-14 14:01:19 PDT ---
At the risk of stating the obvious, the correct result for a NaN compared to
itself is false. I would assume (correct me if I'm wrong) that an array of NaN
compared to itself would therefore also be false, since each element is != to
itself. That is, the runtime assert is correct and the CTFE is incorrect.
--
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