mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2026-02-18 17:36:35 +01:00
* Sign can accept nativeint. Fix issue #39211
This commit is contained in:
parent
accd702075
commit
354bd551e5
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user