- checkedDownCast
Casts the given value to a 32 bit integer, if it can be safely done. If the cast
would change the nu
- log2strict
Computes the logarithm of the given value to the base of 2. This method throws
an error, if the give
- murmurHash
This function hashes an integer value.It is crucial to use different hash
functions to partition dat
- bitMix
Bit-mixing for pseudo-randomization of integers (e.g., to guard against bad hash
functions). Impleme
- isPowerOf2
Checks whether the given value is a power of two.
- roundDownToPowerOf2
Decrements the given number down to the closest power of two. If the argument is
a power of two, it
- roundUpToPowerOfTwo
Round the given number to the next power of two.
- jenkinsHash
This function hashes an integer value. It is adapted from Bob Jenkins' website
http://www.burtleburt
- flipSignBit
Flips the sign bit (most-significant-bit) of the input.
- log2floor
Computes the logarithm of the given value to the base of 2, rounded down. It
corresponds to the posi