pow2
builtin · libnexusinterp/corefcn/pow2-proprietary.cc
- :
y = pow2 (x) ¶
- :
z = pow2 (f, e) ¶
Compute powers of two.
With one argument return 2 .^ x. With two arguments return
f .* 2 .^ e. Both forms work element by element, accept
scalar expansion, and keep single precision when an input is single.