GabrieleMartino martino.gabriele at
Sat Oct 29 15:49:34 CEST 2005


thanks for your answer.
I have pdf manual but im not able to use this function.

I have a mpz_t variable and i want to shift it.

mpz_t e;


The prototype of mpn_rshift is 

mp_limb_t mpn_rshift (mp limb t *rp, const mp limb t *sp, mp size t n,
unsigned int count)

How can i get the parameters "mp_limb_t *rp", "const mp_limb_t *sp", "mp_size_t
n" ???

Then, how can I obtain the shifted value in mpz_t notation??

Gabriele Martino

More information about the gmp-discuss mailing list