Home
last modified time | relevance | path

Searched defs:newScale (Results 1 – 4 of 4) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
DBigDecimalScaleOperationsTest.java91 int newScale = 28; in testSetScaleGreater() local
103 int newScale = 5; in testSetScaleLess() local
116 int newScale = 18; in testSetScaleException() local
132 int newScale = 18; in testSetScaleSame() local
146 int newScale = 18; in testSetScaleRoundUp() local
160 int newScale = 18; in testSetScaleRoundDown() local
174 int newScale = 18; in testSetScaleRoundCeiling() local
188 int newScale = 18; in testSetScaleRoundFloor() local
202 int newScale = 18; in testSetScaleRoundHalfUp() local
216 int newScale = 18; in testSetScaleRoundHalfDown() local
[all …]
DBigDecimalArithmeticTest.java1030 int newScale = 31; in testDivideBigDecimalScaleRoundingModeUP() local
1048 int newScale = 31; in testDivideBigDecimalScaleRoundingModeDOWN() local
1066 int newScale = 45; in testDivideBigDecimalScaleRoundingModeCEILING() local
1084 int newScale = 45; in testDivideBigDecimalScaleRoundingModeFLOOR() local
1102 int newScale = 3; in testDivideBigDecimalScaleRoundingModeHALF_UP() local
1122 int newScale = 7; in testDivideBigDecimalScaleRoundingModeHALF_DOWN() local
1140 int newScale = 7; in testDivideBigDecimalScaleRoundingModeHALF_EVEN() local
/libcore/luni/src/main/java/java/math/
DBigDecimal.java270 long newScale; // the new scale in BigDecimal() local
933 long newScale = (long)this.scale + multiplicand.scale; in multiply() local
1208 int newScale; // the new scale for final quotient in divide() local
1286 long newScale = diffScale; // scale of the final quotient in divide() local
1352 long newScale = (long)this.scale - divisor.scale; in divideToIntegralValue() local
1424 long newScale = diffScale; in divideToIntegralValue() local
1625 long newScale = scale * (long)n; in pow() local
1877 public BigDecimal setScale(int newScale, RoundingMode roundingMode) { in setScale()
1924 public BigDecimal setScale(int newScale, int roundingMode) { in setScale()
1944 public BigDecimal setScale(int newScale) { in setScale()
[all …]
/libcore/luni/src/test/java/libcore/java/math/
DOldBigDecimalArithmeticTest.java620 int newScale = 7; in test_DivideBigDecimalRoundingModeHALF_DOWN() local