|
From: | James Youngman |
Subject: | Re: new module 'popcount' |
Date: | Tue, 24 Jul 2007 02:23:20 +0100 |
On 7/23/07, Bruno Haible <address@hidden> 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.
[Prev in Thread] | Current Thread | [Next in Thread] |