← Standard library

BigInt

struct BigInt
import BigInt from Wax;

Fixed-capacity nonnegative integer scratch storage for decimal parsing, with 62 little-endian 64-bit limbs. This is not a general arbitrary-precision integer: helpers rely on parser-established size limits and may truncate or refuse growth beyond capacity. Copies share the limb array; keep the returned len after arithmetic.

FloatParse.wax:244

Members

limbsfield

public uint64[] limbs

Shared little-endian 64-bit limb storage; limb zero is least significant.

FloatParse.wax:248

lenfield

public int32 len

The active limb count, from zero to the backing capacity. Zero represents the value zero.

FloatParse.wax:252

constructorconstructor

public constructor ()

Allocates 62 zero limbs with active length zero.

FloatParse.wax:256

ToStringmethod

public fn ToString() : string

Provided by the compiler.

ToStringBuffermethod

public fn ToStringBuffer(StringBuilder builder) : int32

Provided by the compiler.