pow2

Base 2 exponentiation and scaling of floating-point numbers.

📝 Syntaxe

  • Y = pow2(E)

  • Y = pow2(X, E)

📥 Argument d'entrée

  • E - Exponent values

  • X - Significand values

📤 Argument de sortie

  • 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.

💡 Exemple

R = pow2([1, 2, 3; 4, 5, 6], [6, 5, 4; 3, 2, 1])

🔗 Voir aussi

log2.

🕔 Historique

Version
📄 Description

1.0.0

version initiale

Last updated

Was this helpful?