bitwise_popcount()
Syntax
bitwise_popcount(x)
Returns the number of ones in the binary representation of the operand.
To count the number of zeros use 64 - bitwise_popcount(x)
.
bitwise_popcount(x)
Returns the number of ones in the binary representation of the operand.
To count the number of zeros use 64 - bitwise_popcount(x)
.