Searched refs:bigDecimal (Results 1 – 2 of 2) sorted by relevance
63 BigDecimal bigDecimal = new BigDecimal("0.999999999999999"); in testRound() local64 BigDecimal rounded = bigDecimal.round(new MathContext(2, RoundingMode.FLOOR)); in testRound()
609 java.math.BigDecimal bigDecimal; in test_formatObject() local618 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 …]