* Sign can accept nativeint. Fix issue #39211

This commit is contained in:
Michaël Van Canneyt 2022-02-02 15:51:21 +01:00
parent accd702075
commit 354bd551e5

View File

@ -65,7 +65,7 @@ const
ZeroValue = 0;
PositiveValue = 1;
function Sign(const AValue: Integer): TValueSign; external name 'Math.sign'; overload;
function Sign(const AValue: NativeInt): TValueSign; external name 'Math.sign'; overload;
function Sign(const AValue: Double): TValueSign; external name 'Math.sign'; overload;
function IsZero(const d: Double; Epsilon: Double): Boolean; overload;