Rename Number.prototype.clz to Math.clz

Kevin Reid kpreid at
Thu Jan 16 14:07:56 PST 2014

On Thu, Jan 16, 2014 at 1:56 PM, Mark S. Miller <erights at> wrote:

> Why is logcount called "logcount"? As the doc on integer-length makes
> clear, it has a strong relation to the log-base-2 of the number. logcount
> does not.

Common Lisp calls most *bitwise* functions of integers log<something>,
that's all.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list