[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gmp] mpz_probab_prime memory allocation

From: Torbjorn Granlund
Subject: Re: [Bug-gmp] mpz_probab_prime memory allocation
Date: 18 Sep 2000 17:13:33 +0200
User-agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.6

Mikkonen Tomi <address@hidden> writes:

  There is probably a bug in
  The following program allocates more and more memory. It would crash 
eventually if the loop was infinite (size of t not infinite).
   for( i = 1; i < 2000000000 ; i++ )
      mpz_set_ui( t, 2000000000 - i );
      mpz_probab_prime_p( t ,3 );
This bug was fixed in GMP 3.0.1, released a few days after 3.0.
Please upgrade to that verson, or to the newer GMP 3.1.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]