Searched refs:nextProbablePrime (Results 1 - 3 of 3) sorted by relevance

/libcore/luni/src/main/java/java/math/
H A DPrimality.java89 * @see BigInteger#nextProbablePrime()
91 static BigInteger nextProbablePrime(BigInteger n) { method in class:Primality
H A DBigInteger.java1016 public BigInteger nextProbablePrime() { method in class:BigInteger
1020 return Primality.nextProbablePrime(this);
/libcore/luni/src/test/java/tests/api/java/math/
H A DBigIntegerTest.java300 * @tests java.math.BigInteger#nextProbablePrime()
322 BigInteger next = wpMinusOne.nextProbablePrime();
325 assertTrue("nextProbablePrime returns wrong number: " + next +
339 // BigInteger prime = a.nextProbablePrime();
364 // BigInteger prime = a.nextProbablePrime();
371 // BigInteger prime = a.nextProbablePrime();

Completed in 46 milliseconds