Problem with large values in GMP...

Vincent Lefevre vincent at
Thu Mar 17 17:58:42 UTC 2016

On 2016-03-17 18:19:27 +0100, Torbjörn Granlund wrote:
> We use "int" for the limb count in mpz_t; code manipulating that should
> not try to set values which do not fit.

Why an int and not a long?

Vincent Lefèvre <vincent at> - Web: <>
100% accessible validated (X)HTML - Blog: <>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

More information about the gmp-discuss mailing list