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.java165 public BigInteger(int bitLength, int certainty, @NonNull Random random) { in BigInteger() argument
1032 public boolean isProbablePrime(int certainty) {
1033 if (certainty <= 0) {
1036 return getBigInt().isPrime(certainty);
DBigInt.java343 boolean isPrime(int certainty) { in isPrime() argument
344 return NativeBN.BN_primality_test(bignum, certainty, false); 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()