Home
last modified time | relevance | path

Searched refs:toBigInteger (Results 1 – 4 of 4) 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/ojluni/src/main/java/sun/misc/
DFDBigInteger.java1486 public BigInteger toBigInteger() { in toBigInteger() method in FDBigInteger
1506 return toBigInteger().toString(); in toString()
/libcore/luni/src/main/java/java/math/
DBigDecimal.java2364 public BigInteger toBigInteger() { in toBigInteger() method in BigDecimal
2415 return ((scale <= -64) || (scale > approxPrecision()) ? 0L : toBigInteger().longValue()); in longValue()
2442 return ((scale <= -32) || (scale > approxPrecision()) ? 0 : toBigInteger().intValue()); in intValue()