开N次方 @param n 几次方 @return 结果
(int n)
| 241 | * @return 结果 |
| 242 | */ |
| 243 | public Decimal sqrtN(int n) { |
| 244 | double log = Math.pow(this.doubleValue(), 1D / n); |
| 245 | this.bigDecimal = new BigDecimal(log, mathContext); |
| 246 | return this; |
| 247 | } |
| 248 | |
| 249 | //endregion |
| 250 |
nothing calls this directly
no test coverage detected