Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/lang/
DMathTest.java83 assertEquals(expected, Math.incrementExact(a)); in testIncrementExactI()
171 assertEquals(expected, BigInteger.valueOf(Math.incrementExact(a))); in testIncrementExactL()
/libcore/ojluni/src/test/java/lang/Math/
DExactArithTests.java124 int inc = Math.incrementExact(x); in testIntegerExact()
267 long inc = Math.incrementExact(x); in testLongExact()
/libcore/ojluni/src/main/java/java/lang/
DMath.java957 public static int incrementExact(int a) { in incrementExact() method in Math
974 public static long incrementExact(long a) { in incrementExact() method in Math