hedgewars/uFloat.pas
changeset 916 1d0022336fbb
parent 883 07a568ba44e0
child 953 237fc147950c
--- a/hedgewars/uFloat.pas	Thu May 08 18:02:52 2008 +0000
+++ b/hedgewars/uFloat.pas	Thu May 08 18:38:52 2008 +0000
@@ -230,7 +230,7 @@
 
 operator < (const z1, z2: hwFloat) b : boolean;
 begin
-if z1.isNegative <> z2.isNegative then
+if z1.isNegative xor z2.isNegative then
    b:= z1.isNegative
 else
    if z1.QWordValue = z2.QWordValue then
@@ -241,7 +241,7 @@
 
 operator > (const z1, z2: hwFloat) b : boolean;
 begin
-if z1.isNegative <> z2.isNegative then
+if z1.isNegative xor z2.isNegative then
    b:= z2.isNegative
 else
    if z1.QWordValue = z2.QWordValue then