Searched refs:gcd (Results 1 – 6 of 6) sorted by relevance
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_binop.py | 6 def gcd(a, b): function 44 g = gcd(den, num) 217 self.assertEqual(gcd(10, 12), 2) 218 self.assertEqual(gcd(10, 15), 5) 219 self.assertEqual(gcd(10, 11), 1) 220 self.assertEqual(gcd(100, 15), 5) 221 self.assertEqual(gcd(-10, 2), -2) 222 self.assertEqual(gcd(10, -2), 2) 223 self.assertEqual(gcd(-10, -2), -2) 226 self.assertTrue(gcd(i, j) > 0) [all …]
|
D | test_fractions.py | 13 gcd = fractions.gcd variable 59 g = gcd(num, den) 94 self.assertEqual(0, gcd(0, 0)) 95 self.assertEqual(1, gcd(1, 0)) 96 self.assertEqual(-1, gcd(-1, 0)) 97 self.assertEqual(1, gcd(0, 1)) 98 self.assertEqual(-1, gcd(0, -1)) 99 self.assertEqual(1, gcd(7, 1)) 100 self.assertEqual(-1, gcd(7, -1)) 101 self.assertEqual(1, gcd(-23, 15)) [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | fractions.py | 18 def gcd(a, b): function 163 g = gcd(numerator, denominator)
|
/device/linaro/bootloader/edk2/StdLib/Efi/StdLib/etc/ |
D | services | 562 sgi-gcd 17003/udp # SGI Group membership daemon
|
/device/google/cuttlefish_kernel/4.4-x86_64/ |
D | System.map | 14380 ffffffff813bb3f0 T gcd
|
/device/google/cuttlefish_kernel/4.14-x86_64/ |
D | System.map | 16802 ffffffff81455e80 T gcd
|