- mostSignificantBit
Returns the most significant bit of a long.This method returns 63 −
Long#numberOfLeadingZeros(long).
- ceilLog2
Computes the ceiling of the base-two logarithm of the argument.This method
relies on #mostSignifican
- log2
Returns the base-two logarithm of the argument.
- int2nat
Maps longs bijectively into long natural numbers.This method will map a negative
long x to -2x-1 and
- nat2int
Maps long natural numbers bijectively into longs.This method computes the
inverse of #int2nat(long).
- length
Returns the number of bits that are necessary to encode the argument.
- leastSignificantBit
Computes the least significant bit of a long integer.
- select
Returns the position of a bit of given rank (starting from zero).
- count
Returns the number of bits set to one in a long.This method implements a
classical broadword algorit
- msbBasedLeastSignificantBit
Returns the least significant bit of a long.This method computes the LSB of x by computing the MSB o
- multLookupLeastSignificantBit
Returns the least significant bit of a long.
- selectBroadword