Home
last modified time | relevance | path

Searched refs:neg2 (Results 1 – 3 of 3) sorted by relevance

/libcore/ojluni/src/test/java/math/BigDecimal/
DNegateTests.java55 BigDecimal neg2 = negateThenRound(bd, mc); in negateTest() local
61 Assert.assertEquals(neg1, neg2, "(" + bd + ").negate(" + mc + ") => " + in negateTest()
62 neg1 + " != ntr " + neg2); in negateTest()
/libcore/ojluni/src/test/java/lang/StrictMath/
DExactArithTests.java153 long neg2 = -((long)x); in testIntegerExact() local
154 if ((int) neg2 != neg2) { in testIntegerExact()
156 } else if (neg != neg2) { in testIntegerExact()
157 … fail("FAIL: long StrictMath.negateExact(" + x + ") = " + neg + "; expected: " + neg2); in testIntegerExact()
160 long neg2 = -((long)x); in testIntegerExact()
161 if ((int) neg2 == neg2) { in testIntegerExact()
/libcore/ojluni/src/test/java/lang/Math/
DExactArithTests.java286 long neg2 = -((long)x); in testIntegerExact() local
287 if ((int) neg2 != neg2) { in testIntegerExact()
289 } else if (neg != neg2) { in testIntegerExact()
290 fail("FAIL: long Math.negateExact(" + x + ") = " + neg + "; expected: " + neg2); in testIntegerExact()
293 long neg2 = -((long)x); in testIntegerExact()
294 if ((int) neg2 == neg2) { in testIntegerExact()