Skip to main content

Int

This enum represents an integer value that can be either a standard 64-bit signed integer or an arbitrary-precision big integer. It provides a flexible way to handle numeric data that may exceed the capacity of standard primitive types while maintaining compatibility with numeric serialization formats.

Attributes

AttributeTypeDescription
I64i64Stores a standard 64-bit signed integer value for basic numeric operations.
BigBigIntStores an arbitrary-precision integer value for calculations exceeding the capacity of a 64-bit integer, serialized as a number.

Constructor

Signature

def I64(
value: i64
) - > [Int](int.md?sid=input_return_enums_int)

Parameters

NameTypeDescription
valuei64The 64-bit signed integer value to be stored.

Signature

def Big(
value: BigInt
) - > [Int](int.md?sid=input_return_enums_int)

Parameters

NameTypeDescription
valueBigIntThe arbitrary-precision integer value to be stored.