change limb size

Kevin Ryde user42 at zip.com.au
Tue Jun 8 00:09:17 CEST 2004


Olivier Ruatta <Olivier.Ruatta at sophia.inria.fr> writes:
>
> #define mp_bits_per_limb 2 //here you can change 2 for everythings you ant, nothing change

No, that's a constant.

>   mp_limb_t n[40]; mpn_random(n,ns);

Maybe mpz_urandomb does what you want.


More information about the gmp-discuss mailing list