This is documentation for Mathematica 4, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
Wolfram Research, Inc.



FilledSmallSquareBitLength[n] gives the number of binary bits necessary to represent the integer n.

FilledSmallSquare For positive n, BitLength[n] is effectively an efficient version of Floor[Log[2, n]] + 1.

FilledSmallSquare For negative n it is equivalent to BitLength[BitNot[n]].

FilledSmallSquare See also: IntegerExponent, MantissaExponent.