Calculates exponential expressions such as 23.
For example, pow(2, 3)
evaluates the expression 2 × 2 × 2. pow(2, -3)
evaluates 1 ÷ (2 × 2 × 2).
Examples
Syntax
pow(n, e)
Parameters
n
Number:
base of the exponential expression.
e
Number:
power by which to raise the base.
Returns
Number: n^e.
This page is generated from the comments in src/math/calculation.js . Please feel free to edit it and submit a pull request!