Searched refs:bigB (Results 1 – 2 of 2) sorted by relevance
/libcore/luni/src/test/java/libcore/java/math/ |
D | BigDecimalTest.java | 254 BigDecimal bigB = valueOf(b); in assertSum() local 258 assertEquals("a + b", expectedSumAsString, bigA.add(bigB).toString()); in assertSum() 259 assertEquals("b + a", expectedSumAsString, bigB.add(bigA).toString()); in assertSum() 261 assertEquals("b - (-a)", expectedSumAsString, bigB.subtract(bigMinusA).toString()); in assertSum() 418 BigDecimal bigB = valueOf(b); in bigMultiply() local 419 BigDecimal result = bigA.multiply(bigB); in bigMultiply() 420 assertEquals("Multiplication should be commutative", result, bigB.multiply(bigA)); in bigMultiply()
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | FloatingDecimal.java | 1317 FDBigInteger bigB = FDBigInteger.valueOfMulPow52(bigBbits, B5, B2); 1339 if ((cmpResult = bigB.cmp(bigD)) > 0) { 1341 diff = bigB.leftInplaceSub(bigD); // bigB is not user further - reuse 1357 diff = bigD.rightInplaceSub(bigB); // bigB is not user further - reuse 1623 FDBigInteger bigB = FDBigInteger.valueOfMulPow52(bigBbits, B5, B2); in floatValue() local 1645 if ((cmpResult = bigB.cmp(bigD)) > 0) { in floatValue() 1647 diff = bigB.leftInplaceSub(bigD); // bigB is not user further - reuse in floatValue() 1663 diff = bigD.rightInplaceSub(bigB); // bigB is not user further - reuse in floatValue()
|