[Ecm-discuss] mpz_random

Paul Zimmermann Paul.Zimmermann at loria.fr
Lun 31 Aou 10:23:51 CEST 2009


       Dear Jason,

> From: Jason Moxham <jason at njkfrudils.plus.com>
> Date: Fri, 28 Aug 2009 12:28:08 +0100
> 
> 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

done. Thanks,
Paul



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