Rename Number.prototype.clz to Math.clz

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


On Thu, Jan 16, 2014 at 1:56 PM, Mark S. Miller <erights at google.com> 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: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140116/31008133/attachment.html>


More information about the es-discuss mailing list