pow()

23과 같은 지수 식을 계산합니다.

예를 들어,pow(2, 3)는 2 × 2 × 2의 값을 구합니다. pow(2, -3)는 1 ÷ (2 × 2 × 2)의 값을 구합니다.

예제

구문

pow(n, e)

매개변수

n
Number:

지수 식의 밑

e
Number:

지수 식의 지수

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!

관련 레퍼런스