Function bitcount32(uint32_t)

Function Documentation

uint32_t bitcount32(uint32_t n)

counts the number of ‘1’ bits in 32-bit integer u Taken from Numerical Recipes, 3rd edition, p.

16

Parameters:

u – 32-bit integer (input)