bitCount

Returns the number of one-bits in the two's complement binary representation of the specified Int value. This function is sometimes referred to as the population count.

Return

the number of one-bits in the two's complement binary representation of i

Parameters

i

the value whose bits are to be counted


Returns the number of one-bits in the two's complement binary representation of the specified Long value. This function is sometimes referred to as the population count.

Return

the number of one-bits in the two's complement binary representation of i.

Parameters

i

the value whose bits are to be counted.