Skip to content

fixedSIntBigIsInRange

fixedSIntBigIsInRange(value, bitWidth): boolean

Defined in: packages/math-numbers/src/fixed-int-big/fixed-sint-big-is-in-range.ts:13

Whether value already fits a bitWidth-bit two’s-complement integer, so no overflow policy has to be consulted.

bigint

The value to test.

number

Width of the integer, in bits.

boolean

When bitWidth is not a non-negative safe integer.