next up previous contents index
Next: next,prev Up: IntegerType Previous: gcd,lcm   Contents   Index


length


Usage

length a


Signature

length: % $\to$ MachineInteger


Parameter Type Description
a % an integer


Returns

Returns the number of binary bits of a, i.e.n such that bit?$(a, n-1)$ is true and bit?$(a, m)$ is false for $m \ge n$.



Manuel Bronstein 2004-06-28