my_mpz_powm_ui.cc File Reference

implementation of a mpz_powm_ui alternative which is sometimes faster than the original one More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void my_mpz_powm_ui (mpz_t a, unsigned int n, const mpz_t m)


Detailed Description

implementation of a mpz_powm_ui alternative which is sometimes faster than the original one

Definition in file my_mpz_powm_ui.cc.


Function Documentation

void my_mpz_powm_ui ( mpz_t  a,
unsigned int  n,
const mpz_t  m 
)

Definition at line 7 of file my_mpz_powm_ui.cc.

References mpz_clear(), mpz_init_set(), mpz_mod(), mpz_mul(), and mpz_powm_ui().

Referenced by CRingPhi::fast_pow_mod().

Here is the call graph for this function:


Generated on Wed Nov 7 23:30:06 2007 for Qsieve by  doxygen 1.5.4