View source
abstract Int64(__Int64)
package haxe
from __Int64, Int to __Int64
Available on all platforms
A cross-platform signed 64-bit integer.
Int64 instances can be created from two 32-bit words using Int64.make()
.
Static variables
Static methods
staticinlinecompare(a:Int64, b:Int64):Int
Compares a
and b
in signed mode.
Returns a negative value if a < b
, positive if a > b
,
or 0 if a == b
.
staticinlineis(val:Dynamic):Bool
Deprecated: "haxe.Int64.is() is deprecated. Use haxe.Int64.isInt64() instead"
staticinlineofInt(x:Int):Int64
Returns an Int64 with the value of the Int x
.
x
is sign-extended to fill 64 bits.
staticinlineshr(a:Int64, b:Int):Int64
Returns a
right-shifted by b
bits in signed mode.
a
is sign-extended.
staticinlinetoInt(x:Int64):Int
Returns an Int with the value of the Int64 x
.
Throws an exception if x
cannot be represented in 32 bits.
staticinlineucompare(a:Int64, b:Int64):Int
Compares a
and b
in unsigned mode.
Returns a negative value if a < b
, positive if a > b
,
or 0 if a == b
.