java.lang.Object
math.BigDecimalNthRootCalculation
public final class BigDecimalNthRootCalculation
extends java.lang.Object
Based on https://stackoverflow.com/questions/22695654/computing-the-nth-root-of-p-using-bigdecimals
-
Method Summary
| Modifier and Type |
Method |
Description |
static java.math.BigDecimal |
nthRoot(int n,
java.math.BigDecimal a) |
|
static java.math.BigDecimal |
nthRoot(int n,
java.math.BigDecimal a,
java.math.MathContext mc) |
|
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
public static java.math.BigDecimal nthRoot(int n,
java.math.BigDecimal a)
-
public static java.math.BigDecimal nthRoot(int n,
java.math.BigDecimal a,
java.math.MathContext mc)