Home
last modified time | relevance | path

Searched refs:modPow (Results 1 – 2 of 2) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
DBigIntegerModPowTest.java45 aNumber.modPow(exp, modulus); in testModPowException()
51 BigInteger.ZERO.modPow(new BigInteger("-1"), new BigInteger("10")); in testModPowException()
72 BigInteger result = aNumber.modPow(exp, modulus); in testModPowPosExp()
95 BigInteger result = aNumber.modPow(exp, modulus); in testModPowNegExp()
113 base[i].modPow(exp, mod[j])); in testModPowZeroExp()
122 base[i].modPow(exp, mod[j])); in testModPowZeroExp()
/libcore/luni/src/main/java/java/math/
DBigInteger.java1010 @NonNull public BigInteger modPow(@NonNull BigInteger exponent, @NonNull BigInteger modulus) { in modPow() method in BigInteger