Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/java/math/
DBigInteger.java163 public BigInteger(int bitLength, int certainty, Random random) { in BigInteger() argument
1030 public boolean isProbablePrime(int certainty) {
1031 if (certainty <= 0) {
1034 return getBigInt().isPrime(certainty);
DBigInt.java341 boolean isPrime(int certainty) { in isPrime() argument
342 return NativeBN.BN_is_prime_ex(bignum, certainty, 0); in isPrime()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
DOldBigIntegerTest.java81 int certainty[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, in test_ConstructorIILjava_util_Random() local
84 for (int c = 0; c < certainty.length; c++) { in test_ConstructorIILjava_util_Random()