Covers two methods of counting the number of bits set in an unsigned integer. One method iterates for each bit in the number. The second method, known as Wegner's algorithm or Kernighan's algorithm, loops for each set bit in the number.
No download links available.