Hi Christophe,
this issue is known since several years:
https://gmplib.org/list-archives/gmp-bugs/2019-September/004633.html
Paul
> From: Christophe Clavier
> Date: Tue, 16 Feb 2021 14:22:20 +0100
>
> Dear GMP developers,
>
> I currently have to deal with huge numbers (several
On 2021-02-16 14:22:20 +0100, Christophe Clavier wrote:
> I suggest to modify the type of i to long int or to unsigned long int.
long or unsigned long may still be on 32 bits, e.g. under MS Windows.
I think that a more appropriate type in the context of a string
(or more generally an array of
Dear GMP developers,
I currently have to deal with huge numbers (several billions decimal
digits) which I need to convert in strings of digits with mpz_get_str.
I noticed that this function produces an incorrect result when the
number of digits exceeds 2^31.
The reason lies in the loop that