Skip to content

bitReverse64

bitReverse64(value): bigint

Defined in: packages/core/src/big-int/bit/bit-reverse64.ts:14

Reverses the bit order within the low 64 bits of value.

The 64-bit counterpart of bitReverse32: the same halving strategy (pairs, nibbles, bytes, halfwords, then the two 32-bit halves) with bigint masks.

bigint

The value to reverse; only its low 64 bits are considered.

bigint

The bit-reversed value as an unsigned 64-bit integer.