bug-gmp
[Top][All Lists]
Advanced

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

Re: mpz_powm crashes with modulus>2^2100000


From: Paul Zimmermann
Subject: Re: mpz_powm crashes with modulus>2^2100000
Date: Wed, 12 Mar 2003 23:35:32 +0100

   I inserted the patch including all printf. My earlier sent test program still
   crashes with p=2^2100000+1 after outputting:
   Calling mpz_powm_ui...Done. Calling mpz_powm...k=1
   computing x^2

   Note the test program only tries to compute 3^3 mod p, the exponent is tiny
   and the patch does not change k.
   I am running under Windows XP with 256 MB physical memory.

I could not reproduce the problem under Linux, so I guess it is Windows 
specific. Did you try to configure GMP with --disable-alloca (if possible
under Windows)?

Paul




reply via email to

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