POPCNT (integer) Class: Elemental function - Generic A function that returns the number of 1 bits in the binary representation of the integer argument. The result type is the same as the argument. Example: If the value of I is B'0...00011010110', the value of POPCNT(I) is 5.