Vincent Lefevre vincent at
Fri May 4 21:35:51 UTC 2018

On 2018-05-04 23:20:57 +0200, Marco Bodrato wrote:
> Should we add to the "as specified in the GMP manual, with a few
> exceptions:" section also this line?
>   When mpz_get_str allocates the string, it can be longer than needed.

If you say that, this means that the string is longer than needed.
This does not make much sense. Don't you mean that the block of
memory may be longer than needed?

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-devel mailing list