Searched refs:bestfac (Results 1 – 10 of 10) sorted by relevance
58 size_t f2, f23, f235, bestfac=2*n; in good_size() local61 for (f2=1; f2<bestfac; f2*=2) in good_size()62 for (f23=f2; f23<bestfac; f23*=3) in good_size()63 for (f235=f23; f235<bestfac; f235*=5) in good_size()64 if (f235>=n) bestfac=f235; in good_size()65 return bestfac; in good_size()
282 int bestfac=2*n; in good_fft_size() local284 for (int f2=1; f2<bestfac; f2*=2) in good_fft_size()285 for (int f23=f2; f23<bestfac; f23*=3) in good_fft_size()286 for (int f235=f23; f235<bestfac; f235*=5) in good_fft_size()287 if (f235>=n) bestfac=f235; in good_fft_size()289 return bestfac; in good_fft_size()
101 size_t bestfac=2*n;102 for (size_t f11=1; f11<bestfac; f11*=11)103 for (size_t f117=f11; f117<bestfac; f117*=7)104 for (size_t f1175=f117; f1175<bestfac; f1175*=5)114 if (x<bestfac) bestfac=x;122 return bestfac;130 size_t bestfac=2*n;131 for (size_t f5=1; f5<bestfac; f5*=5)141 if (x<bestfac) bestfac=x;149 return bestfac;
556 size_t bestfac = 2 * n; in good_size_cmplx() local557 for (size_t f11 = 1; f11 < bestfac; f11 *= 11) in good_size_cmplx()558 for (size_t f117 = f11; f117 < bestfac; f117 *= 7) in good_size_cmplx()567 if (x < bestfac) in good_size_cmplx()568 bestfac = x; in good_size_cmplx()576 return bestfac; in good_size_cmplx()585 size_t bestfac = 2 * n; in good_size_real() local586 for (size_t f5 = 1; f5 < bestfac; f5 *= 5) { in good_size_real()594 if (x < bestfac) in good_size_real()595 bestfac = x; in good_size_real()[all …]
252 size_t bestfac=2*n; in good_size() local253 for (size_t f2=1; f2<bestfac; f2*=2) in good_size()254 for (size_t f23=f2; f23<bestfac; f23*=3) in good_size()255 for (size_t f235=f23; f235<bestfac; f235*=5) in good_size()256 for (size_t f2357=f235; f2357<bestfac; f2357*=7) in good_size()257 for (size_t f235711=f2357; f235711<bestfac; f235711*=11) in good_size()258 if (f235711>=n) bestfac=f235711; in good_size()259 return bestfac; in good_size()
254 size_t bestfac=2*n; in good_size() local255 for (size_t f2=1; f2<bestfac; f2*=2) in good_size()256 for (size_t f23=f2; f23<bestfac; f23*=3) in good_size()257 for (size_t f235=f23; f235<bestfac; f235*=5) in good_size()258 for (size_t f2357=f235; f2357<bestfac; f2357*=7) in good_size()259 for (size_t f235711=f2357; f235711<bestfac; f235711*=11) in good_size()260 if (f235711>=n) bestfac=f235711; in good_size()261 return bestfac; in good_size()
401 size_t bestfac=2*n;402 for (size_t f11=1; f11<bestfac; f11*=11)403 for (size_t f117=f11; f117<bestfac; f117*=7)404 for (size_t f1175=f117; f1175<bestfac; f1175*=5)414 if (x<bestfac) bestfac=x;422 return bestfac;430 size_t bestfac=2*n;431 for (size_t f5=1; f5<bestfac; f5*=5)441 if (x<bestfac) bestfac=x;449 return bestfac;
264 size_t bestfac=2*n; in good_size() local265 for (size_t f2=1; f2<bestfac; f2*=2) in good_size()266 for (size_t f23=f2; f23<bestfac; f23*=3) in good_size()267 for (size_t f235=f23; f235<bestfac; f235*=5) in good_size()268 for (size_t f2357=f235; f2357<bestfac; f2357*=7) in good_size()269 for (size_t f235711=f2357; f235711<bestfac; f235711*=11) in good_size()270 if (f235711>=n) bestfac=f235711; in good_size()271 return bestfac; in good_size()
595 UniquePtr<vec_pair_zz_pX_long> bestfac; in SmallPrimeFactorization() local673 bestfac.make(thisfac); in SmallPrimeFactorization()696 SFCanZass2(*spfactors, *bestfac, *besth, 0); in SmallPrimeFactorization()