Bitwise population count (aka “popcount”, “popcnt”, and “bit count”) is a numeric operation that counts the number of 1-bits in an integer’s binary representation. This is a useful and versatile ...