We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b466c6 commit 2a73a12Copy full SHA for 2a73a12
src/java.base/share/classes/java/math/BigDecimal.java
@@ -2168,7 +2168,6 @@ public BigDecimal sqrt(MathContext mc) {
2168
// for special cases that could run faster.
2169
2170
int preferredScale = this.scale/2;
2171
- BigDecimal zeroWithFinalPreferredScale = valueOf(0L, preferredScale);
2172
2173
BigDecimal result;
2174
if (mc.roundingMode == RoundingMode.UNNECESSARY || mc.precision == 0) { // Exact result requested
0 commit comments