rotr64
rotr64(
value,count):bigint
Defined in: packages/core/src/big-int/bit/rotr64.ts:13
Rotates value right within 64 bits.
bigint shifts are unbounded, so the result has to be masked back down to 64
bits after every rotation.
Parameters
Section titled “Parameters”bigint
The value to rotate; only its low 64 bits are considered.
bigint
The rotation distance, which must be in the 0n..64n range.
Returns
Section titled “Returns”bigint
The rotated value as an unsigned 64-bit integer.