1 #ifndef LAS_DIVIDE_PRIMES_HPP_ 2 #define LAS_DIVIDE_PRIMES_HPP_ 3 4 #include <algorithm> // for max 5 #include <cstdint> // for uint64_t, int64_t 6 #include <cstdio> // for FILE 7 #include <vector> // for vector 8 #include "fb.hpp" // for fb_factorbase 9 class bucket_array_complete; 10 class bucket_primes_t; 11 struct cxx_mpz; 12 struct trialdiv_data; 13 14 15 typedef std::vector<uint64_t> factor_list_t; 16 extern void display_bucket_prime_stats(); 17 18 extern int factor_list_fprint(FILE *f, factor_list_t const & fl); 19 20 extern void 21 divide_known_primes (std::vector<uint64_t> & fl, cxx_mpz & norm, const unsigned int N, unsigned int x, 22 const bool handle_2, bucket_primes_t *primes, 23 bucket_array_complete *purged, 24 trialdiv_data const & td, 25 int64_t a, uint64_t b, 26 fb_factorbase::slicing const & fbs); 27 28 #endif /* LAS_DIVIDE_PRIMES_HPP_ */ 29