Searched refs:neg2 (Results 1 – 3 of 3) sorted by relevance
55 BigDecimal neg2 = negateThenRound(bd, mc); in negateTest() local61 Assert.assertEquals(neg1, neg2, "(" + bd + ").negate(" + mc + ") => " + in negateTest()62 neg1 + " != ntr " + neg2); in negateTest()
153 long neg2 = -((long)x); in testIntegerExact() local154 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()
286 long neg2 = -((long)x); in testIntegerExact() local287 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()