envzn
0.8 · beta · not released

Library / Numbers / Numeric contracts / DecimalParts

STRUCT

DecimalParts

DecimalParts — the (coefficient, exponent) a decimal text scans into, before the compiler assembles them into a decimal128. Returned by NumericUtilities.parseDecimalParts so the String INTO decimal128 lowering can build Decimal128(coeff, exp) — the same construction the literal path emits — without the kernel ever constructing a value-class primitive itself.

Fields 2

int128 coefficient
int32 exponent