Number Types

class Int8(value: int)[source]

Bases: Integer

Int8 represents an 8-bit signed integer

Corresponds to Java byte

MAX_VALUE = 127
MIN_VALUE = -128
class Int16(value: int)[source]

Bases: Integer

Int16 represents a 16-bit signed integer

Corresponds to Java short.

MAX_VALUE = 32767
MIN_VALUE = -32768
class Int32(value: int)[source]

Bases: Integer

Int32 represents a 32-bit signed integer

Corresponds to Java int.

MAX_VALUE = 2147483647
MIN_VALUE = -2147483648
class Int64(value: int)[source]

Bases: Integer

Int64 represents a 64-bit signed integer

Corresponds to Java long.

MAX_VALUE = 9223372036854775807
MIN_VALUE = -9223372036854775808
class Float32(value: float | int)[source]

Bases: Float

Float32 represents a 32-bit floating point number

Corresponds to Java float.

class Float64(value: float | int)[source]

Bases: Float

Float64 represents a 64-bit floating point number

Corresponds to Java double.

class BigInt(value: int)[source]

Bases: Integer

BigInt represents a big integer

Corresponds to Java java.math.BigInteger.

MAX_VALUE = None
MIN_VALUE = None