Package math
Class BigDecimalNthRootCalculation
java.lang.Object
math.BigDecimalNthRootCalculation
Based on https://stackoverflow.com/questions/22695654/computing-the-nth-root-of-p-using-bigdecimals
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BigDecimal
nthRoot
(int n, BigDecimal a) private static BigDecimal
nthRoot
(int n, BigDecimal a, BigDecimal p, MathContext mc) static BigDecimal
nthRoot
(int n, BigDecimal a, MathContext mc)
-
Field Details
-
default_mode
-
-
Constructor Details
-
BigDecimalNthRootCalculation
private BigDecimalNthRootCalculation()
-
-
Method Details
-
nthRoot
-
nthRoot
-
nthRoot
-