Available on all targets
A cross-platform signed 64-bit integer. Int64 instances can be created from two 32-bit words using Int64.make().
Int64.make()
staticread onlyhigh:Int32
Available on clay native
staticread onlylow:Int32
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.
x
@:op(A + B)staticinlineadd(a:Int64, b:Int64):Int64
Available on unity
Returns the sum of a and b.
a
b
@:op(A - B)staticinlinesub(a:Int64, b:Int64):Int64
Returns a minus b.
@:op(A == B)staticinlineeq(a:Int64, b:Int64):Bool
Returns true if a is equal to b.
true