Home
last modified time | relevance | path

Searched refs:scaleAdjust (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/test/java/math/BigDecimal/
DSquareRootTests.java494 int scaleAdjust = 0;
497 scaleAdjust = scale;
499 scaleAdjust = scale - 1;
502 BigDecimal working = stripped.scaleByPowerOfTen(scaleAdjust);
574 result = approx.scaleByPowerOfTen(-scaleAdjust/2).round(mcTmp);
582 result = approx.scaleByPowerOfTen(-scaleAdjust/2).round(mc);
/libcore/ojluni/src/main/java/java/math/
DBigDecimal.java2191 int scaleAdjust = 0; in sqrt() local
2194 scaleAdjust = scale; in sqrt()
2196 scaleAdjust = scale - 1; in sqrt()
2199 BigDecimal working = stripped.scaleByPowerOfTen(scaleAdjust); in sqrt()
2282 result = approx.scaleByPowerOfTen(-scaleAdjust/2).round(mcTmp); in sqrt()
2290 result = approx.scaleByPowerOfTen(-scaleAdjust/2).round(mc); in sqrt()