bug in gmp_fprintf still in next release?
nisse at lysator.liu.se
Wed Oct 9 08:12:57 UTC 2019
tg at gmplib.org (Torbjörn Granlund) writes:
> IIRC, the size field counts bytes for these functions. The size in mpz
> counts limbs.
You're right. So then for positive numbers, mpz_out_raw can deal with
numbers of at most 2^34 - 8 bits. And negative numbers of at most 2^34
bits (absolute value). Which is smaller than the mpz_t limit.
Niels Möller. PGP-encrypted email is preferred. Keyid 368C6677.
Internet email is subject to wholesale government surveillance.
More information about the gmp-bugs