[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#22689: [PATCH] Add logcount

From: Eli Zaretskii
Subject: bug#22689: [PATCH] Add logcount
Date: Sat, 30 Sep 2017 20:53:26 +0300

> Date: Sat, 30 Sep 2017 13:07:58 -0400
> From: Mark Oteiza <address@hidden>
> Cc: address@hidden
> Ok.  Patch including this, Benjamin's catch, and documentation.

Thanks.  A minor comment on the docs:

> address@hidden logcount integer
> +This function returns the population count of @var{integer}: the
> +number of ones in the binary representation of @var{integer}.

I would mention here the "Hamming weight" term (in @dfn) that is
referenced in NEWS, and I would also add a few index entries:

 @cindex popcount
 @cindex Hamming weight
 @cindex counting set bits

reply via email to

[Prev in Thread] Current Thread [Next in Thread]