[Issue 7546] 64-bit floating-point issue with negative zero: -0.0 == 0.0 is false.

2012-05-11 Thread d-bugmail
/a8ffc8ab60aa3e1ae965e5764f0900e14a0881c1 Fix issue 7546 64-bit floating-point issue with negative zero: -0.0 == 0.0 is false Just duplicate the code for float == float. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---

[Issue 7546] 64-bit floating-point issue with negative zero: -0.0 == 0.0 is false.

2012-02-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7546 --- Comment #1 from kenn...@gmail.com 2012-02-19 11:38:41 PST --- The problem is that, when comparing with 0.0 or -0.0, the backend will generate an integer 'cmp' instruction, but -0.0 has a different bit pattern than 0.0, so the equality will

[Issue 7546] 64-bit floating-point issue with negative zero: -0.0 == 0.0 is false.

2012-02-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7546 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc ---