Jens Nockert (2014-01-17T13:07:05.000Z)
On 2014/01/17, at 13:24, Jason Orendorff <jason.orendorff at gmail.com> wrote:

> Then you could write: Math.bitlen(x >>> 0)
> 
> That would return 32 if x is a negative 32-bit signed int, because
> ">>> 0" converts ToUint32.
> 
> -j

Yeah, but when would I need to calculate it on a floating-point number?

Allowing that is just confusing when all other bit-oriented operation implicitly does ToInt32.
domenic at domenicdenicola.com (2014-01-24T19:55:45.208Z)
Yeah, but when would I need to calculate it on a floating-point number?

Allowing that is just confusing when all other bit-oriented operation implicitly does ToInt32.