feat: update mathutil
This commit is contained in:
@@ -67,7 +67,7 @@ public class MathUtil {
|
|||||||
}
|
}
|
||||||
|
|
||||||
BigDecimal x = n.divide(BigDecimal.valueOf(2), scale, RoundingMode.HALF_UP);
|
BigDecimal x = n.divide(BigDecimal.valueOf(2), scale, RoundingMode.HALF_UP);
|
||||||
BigDecimal precision = BigDecimal.ONE.movePointLeft(scale); // 誤差の許容範囲
|
BigDecimal precision = BigDecimal.ONE.movePointLeft(scale);
|
||||||
BigDecimal lastX;
|
BigDecimal lastX;
|
||||||
|
|
||||||
do {
|
do {
|
||||||
|
|||||||
Reference in New Issue
Block a user