http://d.puremagic.com/issues/show_bug.cgi?id=7089
Summary: Inconsistent results when comparing structs with NaNs Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Keywords: wrong-code Severity: major Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: dsim...@yahoo.com --- Comment #0 from David Simcha <dsim...@yahoo.com> 2011-12-10 09:27:01 PST --- When comparing structs that contain a NaN for equality, the results differ between 32- and 64-bit binaries on DMD 2.057 beta: // test2.d: import std.stdio; struct S { double d; // NaN } void main() { S s; writeln(s == S.init); } $ dmd test2.d -m32 $ ./test2 true $ dmd test2.d -m64 $ ./test2 false -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------