fixedSIntBigMax
fixedSIntBigMax(
bitWidth):bigint
Defined in: packages/math-numbers/src/fixed-int-big/fixed-sint-big-max.ts:12
The largest value a bitWidth-bit two’s-complement integer holds: 2 ** (bitWidth - 1) - 1.
A width of zero holds only 0n, so it meets fixedSIntBigMin there
instead of sitting one below it. Widths outside the non-negative integers are
not part of the domain and are not rejected: unlike fixedSIntBigFrom,
this admits no value and so has nothing to guard.
Parameters
Section titled “Parameters”bitWidth
Section titled “bitWidth”number
Width of the integer, in bits.
Returns
Section titled “Returns”bigint