Searched refs:gcd (Results 1 – 9 of 9) sorted by relevance
/libcore/luni/src/test/java/libcore/java/math/ |
D | BigIntegerTest.java | 202 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/ |
D | BigIntegerModPowTest.java | 250 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()
|
D | BigIntegerHashCodeTest.java | 45 aNumber1.gcd(aNumber2).pow(7); in testSameObject()
|
D | BigIntegerTest.java | 382 + 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/ |
D | BigIntegerBenchmark.java | 37 x.gcd(y); in timeRandomGcd()
|
/libcore/ojluni/annotations/sdk/nullability/java/math/ |
D | BigInteger.annotated.java | 77 …@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/ |
D | DivideTests.java | 78 BigInteger b_prime = divisorIntvalue.divide(dividendIntvalue.gcd(divisorIntvalue)); in anotherDivide()
|
/libcore/ojluni/src/main/java/java/math/ |
D | BigInteger.java | 2704 public BigInteger gcd(BigInteger val) { in gcd() method
|
/libcore/api/ |
D | current.txt | 5348 method @NonNull public java.math.BigInteger gcd(@NonNull java.math.BigInteger);
|