A cross-platform signed 64-bit integer. Int64 instances can be created from two 32-bit words using Int64.make().

Static variables

staticread onlyhigh:Int32

Available on clay native

staticread onlylow:Int32

Available on clay native

Static methods

staticinlinetoInt(x:Int64):Int

Available on clay native

Returns an Int with the value of the Int64 x. Throws an exception if x cannot be represented in 32 bits.

@:op(A + B)staticinlineadd(a:Int64, b:Int64):Int64

Available on unity

Returns the sum of a and b.

@:op(A - B)staticinlinesub(a:Int64, b:Int64):Int64

Available on unity

Returns a minus b.

@:op(A == B)staticinlineeq(a:Int64, b:Int64):Bool

Available on unity

Returns true if a is equal to b.