* fix for #21199, changing epsilon to 0.0 instead of 0 helps overload selection of the

right precision. Leave mantis item over for compiler testing.

git-svn-id: trunk@20461 -
This commit is contained in:
marco 2012-03-01 22:31:20 +00:00
parent 39bc3b9dcf
commit ae1ece93e5

View File

@ -2222,7 +2222,7 @@ end;
function SameValue(const A, B: Extended): Boolean;inline;
begin
Result:=SameValue(A,B,0);
Result:=SameValue(A,B,0.0);
end;
{$endif FPC_HAS_TYPE_EXTENDED}
@ -2231,7 +2231,7 @@ end;
function SameValue(const A, B: Double): Boolean;inline;
begin
Result:=SameValue(A,B,0);
Result:=SameValue(A,B,0.0);
end;
function SameValue(const A, B: Double; Epsilon: Double): Boolean;