hedgewars/uFloat.pas
changeset 6879 f44042ba755c
parent 6785 a8aa5984185f
child 7042 de20086a6bcc
--- a/hedgewars/uFloat.pas	Wed Apr 11 01:04:58 2012 +0400
+++ b/hedgewars/uFloat.pas	Wed Apr 11 22:46:59 2012 +0400
@@ -90,7 +90,7 @@
 function AngleCos(const Angle: Longword): hwFloat;
 function SignAs(const num, signum: hwFloat): hwFloat; inline; // Returns an hwFloat with the value of parameter num and the sign of signum.
 function hwSign(r: hwFloat): LongInt; inline; // Returns an integer with value 1 and sign of parameter r.
-function hwSign(r: real): LongInt; inline; // Returns an integer with value 1 and sign of parameter r.
+function hwSignf(r: real): LongInt; inline; // Returns an integer with value 1 and sign of parameter r.
 function isZero(const z: hwFloat): boolean; inline;
 {$IFDEF FPC}
 {$J-}
@@ -424,12 +424,12 @@
     hwSign:= 1
 end;
 
-function hwSign(r: real): LongInt;
+function hwSignf(r: real): LongInt;
 begin
 if r < 0 then
-    hwSign:= -1
+    hwSignf:= -1
 else
-    hwSign:= 1
+    hwSignf:= 1
 end;