bitcount.c: Function to count bits in an integer

link cfunc
April 9, 1996; Gregg M. Townsend
Requires: Dynamic loading
This file is in the public domain.

bitcount(i) returns the number of bits that are set in the integer i.
It works only for "normal" integers, not large integers.

Source code | Program Library Page | Icon Home Page