pow2
Base 2 exponentiation and scaling of floating-point numbers
Syntax
Description
Examples
Input Arguments
Tips
The syntax Y = pow2(X,E)
corresponds to the ANSI® C function ldexp()
and the IEEE® floating-point standard function scalbn()
. The result
Y
is computed quickly by simply adding E
to the
floating-point exponent of X
.