Marco Bodrato bodrato at
Sat May 5 06:39:27 UTC 2018


Il Ven, 4 Maggio 2018 11:35 pm, Vincent Lefevre ha scritto:
> 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?

Of course you are right. s/string/block/ ?

 When mpz_get_str allocates the block, it can be longer than needed.



More information about the gmp-devel mailing list