Compute a base raised to a power, including large integer exponents.
计算底数 x 的 y 次幂。
| Item | Formula / Note | Source / Standard |
|---|---|---|
| General definition | x^y = exp( y · ln x ) for x > 0 | ISO 80000-2:2019, Quantities and units - Part 2: Mathematics |
| Positive integer exponent | x^n = x · x · ... · x with n factors | ISO 80000-2:2019, Quantities and units - Part 2: Mathematics |
| Zero and negative exponents | x^0 = 1; x^(-n) = 1/x^n | ISO 80000-2:2019, Quantities and units - Part 2: Mathematics |
| Fractional exponent | x^(1/n) is the n-th root of x | ISO 80000-2:2019, Quantities and units - Part 2: Mathematics |