Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/lang/StrictMath/
DExactArithTests.java137 long dec2 = (long) x - 1L; in testIntegerExact() local
138 if ((int) dec2 != dec2) { in testIntegerExact()
140 } else if (dec != dec2) { in testIntegerExact()
141 … fail("FAIL: long StrictMath.decrementExact(" + x + ") = " + dec + "; expected: " + dec2); in testIntegerExact()
144 long dec2 = (long) x - 1L; in testIntegerExact()
145 if ((int) dec2 == dec2) { in testIntegerExact()
/libcore/ojluni/src/test/java/lang/Math/
DExactArithTests.java270 long dec2 = (long) x - 1L; in testIntegerExact() local
271 if ((int) dec2 != dec2) { in testIntegerExact()
273 } else if (dec != dec2) { in testIntegerExact()
274 fail("FAIL: long Math.decrementExact(" + x + ") = " + dec + "; expected: " + dec2); in testIntegerExact()
277 long dec2 = (long) x - 1L; in testIntegerExact()
278 if ((int) dec2 == dec2) { in testIntegerExact()