On 7/23/07, Bruno Haible <
bruno@...> wrote:
> 'popcount' is not a particularly good name. When I first stumbled on a
> function of this name in the sources of GNU gettext, it took me some time
> to understand what it meant.
>
> The ANSI Common Lisp name for this function is 'logcount', where the
> prefix 'log' means a "logical" interpretation of integers. This is not
> mainstream understandable either.
hamming_weight would correspond to the formal definition of the
quantity, I think.
James.