my_mpz_wrapper Namespace Reference

contains wrapped I/O for mpz_t (multiple precision numbers) More...


Functions

unsigned long int mpz_remainder_ui_ (const mpz_t n, const unsigned long int d)
unsigned long int mpz_remainder_ui (const mpz_t n, const unsigned long int d)
std::ostreamoperator<< (std::ostream &ostr, const mpz_t value)
 wrapper function to output mpz_t numbers (to avoid/minimize explicit conversions)
std::istreamoperator>> (std::istream &istr, mpz_t value)
 input wrapper function for mpz_t numbers

Variables

const int probab_prime_checks = 25
const int mpzbase_f = 32


Detailed Description

contains wrapped I/O for mpz_t (multiple precision numbers)

Function Documentation

unsigned long int my_mpz_wrapper::mpz_remainder_ui ( const mpz_t  n,
const unsigned long int  d 
) [inline]

Definition at line 38 of file mpz_wrapper.H.

References mpz_fdiv_ui(), and mpz_remainder_ui_().

Referenced by DynamicFactorArrays::compute_Deltas_for_DynamicFactors(), CmpqsPolynom::compute_next_polynomial(), StaticFactorbase::compute_StaticFactorbase(), determine_best_MPQS_Multiplier(), fermat_like_method(), CmpqsPolynom::get_A2_mod(), Clucas_capsule_mpz::lucas(), mpz_sqrtmod(), phimat2(), and SQRT_kN_mod_PrimeNumber().

Here is the call graph for this function:

unsigned long int my_mpz_wrapper::mpz_remainder_ui_ ( const mpz_t  n,
const unsigned long int  d 
) [inline]

Definition at line 24 of file mpz_wrapper.H.

References mpz_fdiv_ui().

Referenced by mpz_remainder_ui().

Here is the call graph for this function:

std::ostream& my_mpz_wrapper::operator<< ( std::ostream ostr,
const mpz_t  value 
) [inline]

wrapper function to output mpz_t numbers (to avoid/minimize explicit conversions)

Definition at line 96 of file mpz_wrapper.H.

References exit(), MARK, mpz_get_str(), and mpz_sizeinbase().

Here is the call graph for this function:

std::istream& my_mpz_wrapper::operator>> ( std::istream istr,
mpz_t  value 
) [inline]

input wrapper function for mpz_t numbers

Definition at line 121 of file mpz_wrapper.H.


Variable Documentation

const int my_mpz_wrapper::mpzbase_f = 32

Definition at line 83 of file mpz_wrapper.H.

Referenced by CRelation::combine(), CRelation::is_valid(), CRelation::multi_combine_main(), and CRelation::save().

const int my_mpz_wrapper::probab_prime_checks = 25

Definition at line 81 of file mpz_wrapper.H.

Referenced by CmpqsPolynom::compute_next_polynomial(), CRelation::ComputeQuadraticCongruence(), easy_factor(), elliptic_curves::factor_found(), fermat_like_method(), elliptic_curves::go(), TFoundFactor::output(), phimat(), phimat2(), pollard(), polphi_template(), Potenztest(), Cprocess_clients::process_data_stream(), Cprocess_clients::process_data_stream_ecm(), process_ecm(), and try_memorized_factors().


Generated on Wed Nov 7 23:32:31 2007 for Qsieve by  doxygen 1.5.4