Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/math/
DBigDecimal.java4464 private static BigDecimal add(final long xs, int scale1, final long ys, int scale2) { in add() argument
4465 long sdiff = (long) scale1 - scale2; in add()
4472 return add(scaledX, ys, scale2); in add()
4476 new BigDecimal(bigsum, INFLATED, scale2, 0) in add()
4477 : valueOf(bigsum, scale2, 0); in add()
4493 private static BigDecimal add(final long xs, int scale1, BigInteger snd, int scale2) { in add() argument
4495 long sdiff = (long)rscale - scale2; in add()
4500 rscale = scale2; in add()
4517 private static BigDecimal add(BigInteger fst, int scale1, BigInteger snd, int scale2) { in add() argument
4519 long sdiff = (long)rscale - scale2; in add()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
DBigDecimalTest.java557 BigDecimal scale2 = new BigDecimal("29389."); in test_scale() local
559 scale2.scale() == 0); in test_scale()