FixedPrecisionInfo
FixedPrecisionInfo<
T> =object
Defined in: packages/math-numbers/src/precision-kind.ts:67
Metadata describing the format of a fixed-precision numeric type.
The static FORMAT_INFO property of a concrete class carries this.
Type Parameters
Section titled “Type Parameters”T
Properties
Section titled “Properties”maxDecimalPrecision
Section titled “maxDecimalPrecision”
readonlymaxDecimalPrecision:number
Defined in: packages/math-numbers/src/precision-kind.ts:84
Number of significant decimal digits guaranteed to round-trip through the
type without loss. Equivalent to C DBL_DIG for floating-point, or
floor(log₁₀(MAX)) for integer types.
maxNegative
Section titled “maxNegative”
readonlymaxNegative:T
Defined in: packages/math-numbers/src/precision-kind.ts:78
Smallest (most negative) representable value.
maxPositive
Section titled “maxPositive”
readonlymaxPositive:T
Defined in: packages/math-numbers/src/precision-kind.ts:71
Largest positive representable value.
minNegative
Section titled “minNegative”
readonlyminNegative:T
Defined in: packages/math-numbers/src/precision-kind.ts:76
Largest negative value representable (closest negative to zero, < 0). For
symmetric types (e.g. float) this equals −minPositive.
minPositive
Section titled “minPositive”
readonlyminPositive:T
Defined in: packages/math-numbers/src/precision-kind.ts:69
Smallest positive representable value (> 0).