fixedUIntBigShiftRight
fixedUIntBigShiftRight(
value,count):bigint
Defined in: packages/math-numbers/src/fixed-int-big/fixed-uint-big-shift-right.ts:16
Right shift of a bitWidth-bit unsigned integer; zeros fill from the left.
Arithmetic and logical right shift coincide here — an unsigned value has no
sign bit to propagate — so this is the only one, and unlike its signed
counterparts it needs no bitWidth: the input already carries every bit it
has. Takes no overflow mode either, since shifting right cannot leave the
range.
Parameters
Section titled “Parameters”bigint
The value to shift.
number
Bit positions to shift by; non-negative.
Returns
Section titled “Returns”bigint
Throws
Section titled “Throws”When count is negative or not a safe integer.