mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-01 14:30:27 +02:00
* 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:
parent
39bc3b9dcf
commit
ae1ece93e5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user