pow2
Base 2 exponentiation and scaling of floating-point numbers.
📝Syntax
Y = pow2(E)
Y = pow2(X, E)
📥Input Arguments
Parameter Description
E Exponent values
X Significand values
📤Output Arguments
Parameter Description
Y result of pow2.
📄Description

Y = pow2(E) computes 2 to the power of E.

Y = pow2(X, E) computes X times 2 to the power of E.

💡Examples
R = pow2([1, 2, 3; 4, 5, 6], [6, 5, 4; 3, 2, 1])
🔗See Also
log2
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub