Base-2 logarithm of symbolic input
For floating-point input, the syntax [F,E] = log2(X)
corresponds to
the ANSI® C function frexp()
and the IEEE® standard function logb()
. Any zeros in
X
produce F = 0
and
E = 0
.