Sign для беззнаковых
This commit is contained in:
parent
dc4cbb2547
commit
0483c2dca0
|
|
@ -15,7 +15,7 @@ internal static class RevisionClass
|
|||
public const string Major = "3";
|
||||
public const string Minor = "11";
|
||||
public const string Build = "0";
|
||||
public const string Revision = "3653";
|
||||
public const string Revision = "3654";
|
||||
|
||||
public const string MainVersion = Major + "." + Minor;
|
||||
public const string FullVersion = Major + "." + Minor + "." + Build + "." + Revision;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
%MINOR%=11
|
||||
%REVISION%=3653
|
||||
%COREVERSION%=0
|
||||
%REVISION%=3654
|
||||
%MINOR%=11
|
||||
%MAJOR%=3
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
3.11.0.3653
|
||||
3.11.0.3654
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
!define VERSION '3.11.0.3653'
|
||||
!define VERSION '3.11.0.3654'
|
||||
|
|
|
|||
|
|
@ -9269,13 +9269,13 @@ function Sign(x: BigInteger) := x.Sign;
|
|||
|
||||
function Sign(x: int64) := Math.Sign(x);
|
||||
|
||||
function Sign(x: byte): integer := 1;
|
||||
function Sign(x: byte): integer := if x = 0 then 0 else 1;
|
||||
|
||||
function Sign(x: word): integer := 1;
|
||||
function Sign(x: word): integer := if x = 0 then 0 else 1;
|
||||
|
||||
function Sign(x: longword): integer := 1;
|
||||
function Sign(x: longword): integer := if x = 0 then 0 else 1;
|
||||
|
||||
function Sign(x: uint64): integer := 1;
|
||||
function Sign(x: uint64): integer := if x = 0 then 0 else 1;
|
||||
|
||||
function Sign(x: real): integer := Math.Sign(x);
|
||||
|
||||
|
|
|
|||
|
|
@ -9269,13 +9269,13 @@ function Sign(x: BigInteger) := x.Sign;
|
|||
|
||||
function Sign(x: int64) := Math.Sign(x);
|
||||
|
||||
function Sign(x: byte): integer := 1;
|
||||
function Sign(x: byte): integer := if x = 0 then 0 else 1;
|
||||
|
||||
function Sign(x: word): integer := 1;
|
||||
function Sign(x: word): integer := if x = 0 then 0 else 1;
|
||||
|
||||
function Sign(x: longword): integer := 1;
|
||||
function Sign(x: longword): integer := if x = 0 then 0 else 1;
|
||||
|
||||
function Sign(x: uint64): integer := 1;
|
||||
function Sign(x: uint64): integer := if x = 0 then 0 else 1;
|
||||
|
||||
function Sign(x: real): integer := Math.Sign(x);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue