Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/math/
DBigDecimalTest.java63 BigDecimal bigDecimal = new BigDecimal("0.999999999999999"); in testRound() local
64 BigDecimal rounded = bigDecimal.round(new MathContext(2, RoundingMode.FLOOR)); in testRound()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DDecimalFormatTest.java609 java.math.BigDecimal bigDecimal; in test_formatObject() local
618 bigDecimal = new BigDecimal(Double.MAX_VALUE).add(new BigDecimal(Double.MAX_VALUE)); in test_formatObject()
619 out = format.format(bigDecimal, new StringBuffer(), pos); in test_formatObject()
626 bigDecimal = new BigDecimal(Double.MIN_VALUE).add(new BigDecimal(Double.MIN_VALUE)); in test_formatObject()
627 out = format.format(bigDecimal, new StringBuffer(), pos); in test_formatObject()
629 bigDecimal = new BigDecimal(Float.MAX_VALUE).add(new BigDecimal(Float.MAX_VALUE)); in test_formatObject()
630 out = format.format(bigDecimal, new StringBuffer(), pos); in test_formatObject()
635 bigDecimal = new BigDecimal(Float.MIN_VALUE).add(new BigDecimal(Float.MIN_VALUE)); in test_formatObject()
636 out = format.format(bigDecimal, new StringBuffer(), pos); in test_formatObject()
639 bigDecimal = new BigDecimal(Float.MIN_VALUE).subtract(new BigDecimal(Float.MIN_VALUE)); in test_formatObject()
[all …]