mpz_tdiv_2exp?

Paul Zimmermann Paul.Zimmermann at loria.fr
Fri Sep 19 16:54:53 CEST 2008


       Hi,

is there any reason why there is no mpz_[cft]div_2exp function in GMP?
Could it be more efficient than the following?

   mpz_tdiv_q_2exp (q, n, b);
   mpz_tdiv_r_2exp (r, n, b);

Paul Zimmermann


More information about the gmp-discuss mailing list