Searched refs:resultBig (Results 1 – 2 of 2) sorted by relevance
/libcore/ojluni/src/test/java/lang/Math/ |
D | ExactArithTests.java | 228 BigInteger resultBig = null; in testLongExact() local 233 resultBig = xBig.add(yBig); in testLongExact() 235 checkResult("long Math.addExact", x, y, sum, resultBig); in testLongExact() 237 if (inLongRange(resultBig)) { in testLongExact() 244 resultBig = xBig.subtract(yBig); in testLongExact() 246 checkResult("long Math.subtractExact", x, y, diff, resultBig); in testLongExact() 248 if (inLongRange(resultBig)) { in testLongExact() 255 resultBig = xBig.multiply(yBig); in testLongExact() 257 checkResult("long Math.multiplyExact", x, y, product, resultBig); in testLongExact() 259 if (inLongRange(resultBig)) { in testLongExact() [all …]
|
/libcore/ojluni/src/test/java/lang/StrictMath/ |
D | ExactArithTests.java | 203 BigInteger resultBig = null; in testLongExact() local 208 resultBig = xBig.add(yBig); in testLongExact() 210 checkResult("long StrictMath.addExact", x, y, sum, resultBig); in testLongExact() 212 if (inLongRange(resultBig)) { in testLongExact() 219 resultBig = xBig.subtract(yBig); in testLongExact() 221 checkResult("long StrictMath.subtractExact", x, y, diff, resultBig); in testLongExact() 223 if (inLongRange(resultBig)) { in testLongExact() 230 resultBig = xBig.multiply(yBig); in testLongExact() 232 checkResult("long StrictMath.multiplyExact", x, y, product, resultBig); in testLongExact() 234 if (inLongRange(resultBig)) { in testLongExact() [all …]
|