Function Reference
— Mapping Function: log2 (x)
— Mapping Function: [f, e] = log2 (x)

Compute the base-2 logarithm for each element of x. If called with two output arguments, split x to binary mantissa and exponent so that 1/2 <= abs(f) < 1 and e is an integer. If x = 0, f = e = 0.

See also: log log10 log2 exp