[Ecm-discuss] mpz_random

Jason Moxham jason at njkfrudils.plus.com
Ven 28 Aou 13:28:08 CEST 2009


Hi

in the file
ecm-6.2.3/tune.c 
at line 116
mpz_random (N, limbs);

The mpz_random function has been obsoleted for a good number of years now , I 
suggest that the above line be replaced with

mpz_urandomb (N, gmp_randstate, limbs * GMP_NUMB_BITS );

The gmp_randstate varible is allready defined and used a few lines below.


Thanks
Jason



Plus d'informations sur la liste de diffusion Ecm-discuss