Searched refs:KARATSUBA_CUTOFF (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_long.py | 22 KARATSUBA_CUTOFF = 70 # from longobject.c variable 145 digits = range(1, MAXDIGITS+1) + range(KARATSUBA_CUTOFF, 146 KARATSUBA_CUTOFF + 14) 147 digits.append(KARATSUBA_CUTOFF * 3) 184 digits = range(1, 5) + range(KARATSUBA_CUTOFF, KARATSUBA_CUTOFF + 10) 185 digits.extend([KARATSUBA_CUTOFF * 10, KARATSUBA_CUTOFF * 100])
|
/external/python/cpython3/Lib/test/ |
D | test_long.py | 14 KARATSUBA_CUTOFF = 70 # from longobject.c variable 171 digits = list(range(1, MAXDIGITS+1)) + list(range(KARATSUBA_CUTOFF, 172 KARATSUBA_CUTOFF + 14)) 173 digits.append(KARATSUBA_CUTOFF * 3) 210 digits = list(range(1, 5)) + list(range(KARATSUBA_CUTOFF, 211 KARATSUBA_CUTOFF + 10)) 212 digits.extend([KARATSUBA_CUTOFF * 10, KARATSUBA_CUTOFF * 100])
|
/external/python/cpython2/Objects/ |
D | longobject.c | 17 #define KARATSUBA_CUTOFF 70 macro 18 #define KARATSUBA_SQUARE_CUTOFF (2 * KARATSUBA_CUTOFF) 2734 i = a == b ? KARATSUBA_SQUARE_CUTOFF : KARATSUBA_CUTOFF; in k_mul() 2928 assert(asize > KARATSUBA_CUTOFF); in k_lopsided_mul()
|
/external/python/cpython3/Objects/ |
D | longobject.c | 106 #define KARATSUBA_CUTOFF 70 macro 107 #define KARATSUBA_SQUARE_CUTOFF (2 * KARATSUBA_CUTOFF) 3309 i = a == b ? KARATSUBA_SQUARE_CUTOFF : KARATSUBA_CUTOFF; in k_mul() 3503 assert(asize > KARATSUBA_CUTOFF); in k_lopsided_mul()
|