Searched refs:negateExact (Results 1 – 3 of 3) sorted by relevance
105 assertEquals(expected, Math.negateExact(a)); in testNegateExactI()193 assertEquals(expected, BigInteger.valueOf(Math.negateExact(a))); in testNegateExactL()
158 int neg = Math.negateExact(x); in testIntegerExact()289 long dec = Math.negateExact(x); in testLongExact()
1025 public static int negateExact(int a) { in negateExact() method in Math1042 public static long negateExact(long a) { in negateExact() method in Math