Home
last modified time | relevance | path

Searched refs:gcd (Results 1 – 9 of 9) sorted by relevance

/libcore/luni/src/test/java/libcore/java/math/
DBigIntegerTest.java202 assertEquals(result, arg1.gcd(arg2)); in try_gcd_variants()
203 assertEquals(result, arg2.gcd(arg1)); in try_gcd_variants()
204 assertEquals(result, arg1.negate().gcd(arg2)); in try_gcd_variants()
205 assertEquals(result, arg2.gcd(arg1.negate())); in try_gcd_variants()
206 assertEquals(result, arg1.gcd(arg2.negate())); in try_gcd_variants()
207 assertEquals(result, arg2.negate().gcd(arg1)); in try_gcd_variants()
208 assertEquals(result, arg1.negate().gcd(arg2.negate())); in try_gcd_variants()
209 assertEquals(result, arg2.negate().gcd(arg1.negate())); in try_gcd_variants()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
DBigIntegerModPowTest.java250 BigInteger result = aNumber.gcd(bNumber); in testGcdSecondZero()
270 BigInteger result = aNumber.gcd(bNumber); in testGcdFirstZero()
288 BigInteger result = aNumber.gcd(bNumber); in testGcdFirstZERO()
304 BigInteger result = aNumber.gcd(bNumber); in testGcdBothZeros()
323 BigInteger result = aNumber.gcd(bNumber); in testGcdFirstLonger()
343 BigInteger result = aNumber.gcd(bNumber); in testGcdSecondLonger()
DBigIntegerHashCodeTest.java45 aNumber1.gcd(aNumber2).pow(7); in testSameObject()
DBigIntegerTest.java382 + mod, !one.equals(a.gcd(mod))); in test_modInverseLjava_math_BigInteger()
403 + mod, !one.equals(a.gcd(mod))); in test_modInverseLjava_math_BigInteger()
/libcore/benchmarks/src/benchmarks/regression/
DBigIntegerBenchmark.java37 x.gcd(y); in timeRandomGcd()
/libcore/ojluni/annotations/sdk/nullability/java/math/
DBigInteger.annotated.java77 …@libcore.util.NonNull public BigInteger gcd(@libcore.util.NonNull BigInteger val) { throw new Runt… in gcd() method in BigInteger
/libcore/ojluni/src/test/java/math/BigDecimal/
DDivideTests.java78 BigInteger b_prime = divisorIntvalue.divide(dividendIntvalue.gcd(divisorIntvalue)); in anotherDivide()
/libcore/ojluni/src/main/java/java/math/
DBigInteger.java2704 public BigInteger gcd(BigInteger val) { in gcd() method
/libcore/api/
Dcurrent.txt5348 method @NonNull public java.math.BigInteger gcd(@NonNull java.math.BigInteger);