fxlength(fx)
Return the number of bits of the smallest two's complement representation of fixnum fx. (Does not include the sign bit for negative numbers).
fx
fxlength(5) // 3 fxlength(23) // 5
Core Module Index | Contents