Home
last modified time | relevance | path

Searched refs:toBigInteger (Results 1 – 3 of 3) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
DBigDecimalConvertTest.java232 BigInteger result = aNumber.toBigInteger(); in testToBigIntegerPos1()
243 BigInteger result = aNumber.toBigInteger(); in testToBigIntegerPos2()
254 BigInteger result = aNumber.toBigInteger(); in testToBigIntegerPos3()
265 BigInteger result = aNumber.toBigInteger(); in testToBigIntegerNeg1()
276 BigInteger result = aNumber.toBigInteger(); in testToBigIntegerNeg2()
287 BigInteger result = aNumber.toBigInteger(); in testToBigIntegerNeg3()
298 BigInteger result = aNumber.toBigInteger(); in testToBigIntegerZero()
DBigDecimalTest.java776 BigInteger result = sub1.toBigInteger(); in test_toBigInteger()
781 result = sub1.toBigInteger(); in test_toBigInteger()
785 result = sub1.toBigInteger(); in test_toBigInteger()
789 result = sub1.toBigInteger(); in test_toBigInteger()
/libcore/luni/src/main/java/java/math/
DBigDecimal.java2356 public BigInteger toBigInteger() { in toBigInteger() method in BigDecimal
2407 return ((scale <= -64) || (scale > approxPrecision()) ? 0L : toBigInteger().longValue()); in longValue()
2434 return ((scale <= -32) || (scale > approxPrecision()) ? 0 : toBigInteger().intValue()); in intValue()