log2
builtin · libnexusinterp/corefcn/data-proprietary.cc
- :
y = log2 (x) ¶
- :
[f, e] = log2 (x) ¶
Base-2 logarithm. Negative real values give the complex principal
value. With two outputs the call splits each element into mantissa
f (magnitude in [0.5, 1)) and integer exponent e such that
x = f .* 2 .^ e.