10 #ifndef PROGS_SRC_THREADS_THREADS_THREADS_HPP_ 11 #define PROGS_SRC_THREADS_THREADS_THREADS_HPP_ 19 #include "../../common/sigmaodd/helper.hpp" 20 #include "../../common/sigmaodd/primes.hpp" 63 (
unsigned int nb_thread,
65 const std::set<nat_type> &previous_bad_table = std::set<nat_type>(),
66 bool print_bad =
true,
67 unsigned int range_size = 2000);
102 (
unsigned int nb_thread,
104 const std::set<nat_type> &previous_bad_table = std::set<nat_type>(),
105 bool print_bad =
true,
106 unsigned int range_size = 20000,
107 unsigned int master_range_size = 200);
138 (
unsigned int nb_thread,
140 const std::set<nat_type> &previous_bad_table = std::set<nat_type>(),
141 bool print_bad =
true);
145 #endif // PROGS_SRC_THREADS_THREADS_THREADS_HPP_ uint64_t nat_type
Type for natural number used in all code, on 64 bits.
sigmaodd::prime_type prime_type
std::set< nat_type > threads_check_gentle_varsigma_odd__dynamic(unsigned int nb_thread, nat_type first_n, nat_type last_n, const std::set< nat_type > &previous_bad_table, bool print_bad, unsigned int range_size, unsigned int master_range_size)
Check in the order all odd gentle numbers between first_n and last_n, and if print_bad then print all...
uint32_t prime_type
Type for prime number, particularly for the table of primes.
std::set< nat_type > threads_check_gentle_varsigma_odd__by_range(unsigned int nb_thread, nat_type first_n, nat_type last_n, const std::set< nat_type > &previous_bad_table, bool print_bad, unsigned int range_size)
sigmaodd::nat_type nat_type
std::set< nat_type > threads_check_gentle_varsigma_odd__one_by_one(unsigned int nb_thread, nat_type first_n, nat_type last_n, const std::set< nat_type > &previous_bad_table, bool print_bad)