Home
last modified time | relevance | path

Searched refs:KARATSUBA_CUTOFF (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_long.py22 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/rust/crates/serde_json/src/lexical/
Dmath.rs390 use super::large::KARATSUBA_CUTOFF; in imul_pow5()
407 if x.len() + large_powers[bit_length - 1].len() < 2 * KARATSUBA_CUTOFF { in imul_pow5()
662 pub const KARATSUBA_CUTOFF: usize = 32; constant
700 if y.len() <= KARATSUBA_CUTOFF { in karatsuba_mul()
/external/python/cpython3/Lib/test/
Dtest_long.py14 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/
Dlongobject.c17 #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/
Dlongobject.c89 #define KARATSUBA_CUTOFF 70 macro
90 #define KARATSUBA_SQUARE_CUTOFF (2 * KARATSUBA_CUTOFF)
3419 i = a == b ? KARATSUBA_SQUARE_CUTOFF : KARATSUBA_CUTOFF; in k_mul()
3613 assert(asize > KARATSUBA_CUTOFF); in k_lopsided_mul()