Searched refs:sum2 (Results 1 – 2 of 2) sorted by relevance
103 long sum2 = (long) x + (long) y; in testIntegerExact() local104 if ((int) sum2 != sum2) { in testIntegerExact()106 } else if (sum != sum2) { in testIntegerExact()107 … fail("FAIL: long StrictMath.addExact(" + x + " + " + y + ") = " + sum + "; expected: " + sum2); in testIntegerExact()110 long sum2 = (long) x + (long) y; in testIntegerExact()111 if ((int) sum2 == sum2) { in testIntegerExact()
79 long sum2 = (long) x + (long) y; in testIntegerExact() local80 if ((int) sum2 != sum2) { in testIntegerExact()82 } else if (sum != sum2) { in testIntegerExact()83 … fail("FAIL: long Math.addExact(" + x + " + " + y + ") = " + sum + "; expected: " + sum2); in testIntegerExact()86 long sum2 = (long) x + (long) y; in testIntegerExact()87 if ((int) sum2 == sum2) { in testIntegerExact()