/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_fractions.py | 14 gcd = fractions.gcd variable 60 g = gcd(num, den) 98 self.assertEqual(0, gcd(0, 0)) 99 self.assertEqual(1, gcd(1, 0)) 100 self.assertEqual(-1, gcd(-1, 0)) 101 self.assertEqual(1, gcd(0, 1)) 102 self.assertEqual(-1, gcd(0, -1)) 103 self.assertEqual(1, gcd(7, 1)) 104 self.assertEqual(-1, gcd(7, -1) [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
nfrs.cpp | 65 // binary gcd algorithm from Knuth, "The Art of Computer Programming," 96 int64_t gcd = x1 << p2; local 98 // x * y == gcd(x, y) * lcm(x, y) 99 return x / gcd * y;
|
/external/icu4c/i18n/ |
nfrs.cpp | 64 // binary gcd algorithm from Knuth, "The Art of Computer Programming," 95 int64_t gcd = x1 << p2; local 97 // x * y == gcd(x, y) * lcm(x, y) 98 return x / gcd * y;
|
/external/dropbear/libtomcrypt/src/headers/ |
tomcrypt_math.h | 248 /** gcd 254 int (*gcd)(void *a, void *b, void *c); member in struct:__anon17392 481 #define mp_gcd(a, b, c) ltc_mp.gcd(a, b, c)
|
/external/guava/guava-tests/test/com/google/common/math/ |
IntMathTest.java | 339 assertEquals(valueOf(a).gcd(valueOf(b)), valueOf(IntMath.gcd(a, b))); 346 assertEquals(a, IntMath.gcd(a, 0)); 347 assertEquals(a, IntMath.gcd(0, a)); 349 assertEquals(0, IntMath.gcd(0, 0)); 355 IntMath.gcd(a, 3); 359 IntMath.gcd(3, a); 368 IntMath.gcd(a, 0); 372 IntMath.gcd(0, a);
|
LongMathTest.java | 380 assertEquals(valueOf(a).gcd(valueOf(b)), valueOf(LongMath.gcd(a, b))); 387 assertEquals(a, LongMath.gcd(a, 0)); 388 assertEquals(a, LongMath.gcd(0, a)); 390 assertEquals(0, LongMath.gcd(0, 0)); 396 LongMath.gcd(a, 3); 400 LongMath.gcd(3, a); 409 LongMath.gcd(a, 0); 413 LongMath.gcd(0, a);
|
/libcore/luni/src/main/java/java/math/ |
BigInt.java | 271 static BigInt gcd(BigInt a, BigInt b) { method in class:BigInt
|
BigInteger.java | 885 public BigInteger gcd(BigInteger value) { method in class:BigInteger 886 return new BigInteger(BigInt.gcd(getBigInt(), value.getBigInt())); [all...] |
BigDecimal.java | 1189 BigInteger gcd; \/\/ greatest common divisor between 'p' and 'q' local [all...] |
/external/clang/test/SemaCXX/ |
constant-expression-cxx11.cpp | 162 constexpr int gcd(int a, int b) { function in namespace:Recursion 166 static_assert(gcd(1749237, 5628959) == 7, ""); [all...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/builder/ |
DefaultMp4Builder.java | 543 timescale = gcd(track.getTrackMetaData().getTimescale(), timescale); 548 public static long gcd(long a, long b) { method 552 return gcd(b, a % b);
|
/external/dropbear/libtommath/mtest/ |
mpi.c | 2023 mp_int gcd, prod; local [all...] |
/cts/suite/cts/deviceTests/browserbench/assets/octane/ |
crypto.js | 1157 // (public) gcd(this,a) (HAC 14.54) [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v4/ |
v8-crypto.js | 1149 // (public) gcd(this,a) (HAC 14.54) [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v5/ |
v8-crypto.js | 1149 // (public) gcd(this,a) (HAC 14.54) [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v6/ |
v8-crypto.js | 1149 // (public) gcd(this,a) (HAC 14.54) [all...] |
/external/chromium_org/v8/benchmarks/ |
crypto.js | 1157 // (public) gcd(this,a) (HAC 14.54) [all...] |
/external/v8/benchmarks/ |
crypto.js | 1157 // (public) gcd(this,a) (HAC 14.54) [all...] |
/packages/apps/Calculator/ |
arity-2.1.2.jar | |
/prebuilts/tools/common/m2/internal/commons-lang/commons-lang/2.4/ |
commons-lang-2.4.jar | |
/prebuilts/devtools/tools/lib/ |
bcprov-jdk15on-1.48.jar | |
/prebuilts/tools/common/m2/repository/org/bouncycastle/bcprov-jdk15on/1.48/ |
bcprov-jdk15on-1.48.jar | |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jar | |
org.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jar | |
/prebuilts/tools/common/gradle-plugins/repository/com/google/guava/guava/14.0/ |
guava-14.0.jar | |