Home
last modified time | relevance | path

Searched refs:diff2 (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/test/java/lang/StrictMath/
DExactArithTests.java120 long diff2 = (long) x - (long) y; in testIntegerExact() local
121 if ((int) diff2 != diff2) { in testIntegerExact()
122 …il("FAIL: int StrictMath.subtractExact(" + x + " - " + y + ") = " + diff + "; expected: " + diff2); in testIntegerExact()
126 long diff2 = (long) x - (long) y; in testIntegerExact()
127 if ((int) diff2 == diff2) { in testIntegerExact()
/libcore/ojluni/src/test/java/lang/Math/
DExactArithTests.java96 long diff2 = (long) x - (long) y; in testIntegerExact() local
97 if ((int) diff2 != diff2) { in testIntegerExact()
98 … fail("FAIL: int Math.subtractExact(" + x + " - " + y + ") = " + diff + "; expected: " + diff2); in testIntegerExact()
102 long diff2 = (long) x - (long) y; in testIntegerExact()
103 if ((int) diff2 == diff2) { in testIntegerExact()