Very annoying mpz_get_str function Problem !

Michel Bardiaux mbardiaux at
Thu Nov 27 10:51:07 CET 2003

The Codrinus wrote:
> Maybe I was a little angry but I have spent a lot of time trying to debug 
> that behavior. I'll do my best to find a minimum example to prove my 
> complaints. As I found until now it seems that the function is making 
> problems with bignumbers that are the power of 2, for example generating 
> random numbers between 0 - 2^1024.
> Codrin.
I reiterate my suggestion: do the mpz_get_str in a separate process.

Michel Bardiaux
Peaktime Belgium S.A.  Bd. du Souverain, 191  B-1160 Bruxelles
Tel : +32 2 790.29.41

More information about the gmp-discuss mailing list