Compute square roots and cube roots of a number.
计算平方根与立方根。
| Item | Formula / Note | Source / Standard |
|---|---|---|
| n-th root | n-th root of x = x^(1/n) | ISO 80000-2:2019, Quantities and units - Part 2: Mathematics |
| Inverse of exponentiation | (n-th root of x)^n = x | ISO 80000-2:2019, Quantities and units - Part 2: Mathematics |
| Real-domain restriction | Even-order roots require a non-negative radicand in the reals | ISO 80000-2:2019, Quantities and units - Part 2: Mathematics |
| Newton iteration | x_(k+1) = ( (n-1)·x_k + a/x_k^(n-1) ) / n | Newton's method; Press WH et al., Numerical Recipes (3rd ed.) |