rotr32
rotr32(
value,count):number
Defined in: packages/core/src/number/bit/rotr32.ts:12
Rotates value right within 32 bits.
JavaScript has no unsigned 32-bit integer type, so bit rotation has to be emulated with the shift operators, which discard the bits a real rotation would wrap around.
Parameters
Section titled “Parameters”number
The value to rotate; only its low 32 bits are considered.
number
The rotation distance, taken modulo 32.
Returns
Section titled “Returns”number
The rotated value as an unsigned 32-bit integer.