Skip to main content

maxinteger

Constant maxinteger 

Source
pub const maxinteger: number;
Expand description

An integer with the maximum value for an integer: 9223372036854775807 (2⁶³ − 1).

§Examples

print(math.maxinteger)      --> 9223372036854775807
print(math.maxinteger + 1 == math.mininteger)  --> true (wraps around)

§See also

mininteger, huge