Rename Number.prototype.clz to Math.clz

Jens Nockert jens at
Fri Jan 17 11:25:46 PST 2014

> On H26/01/17, at 20:12, Nick Krempel <ndkrempel at> wrote:
> If you go with a representation-independent 'bitlen', I would suggest returning NaN for any negative number.

infinity would make sense for a signed two's complement representation.

More information about the es-discuss mailing list