bug in gmp_fprintf still in next release?

paul zimmermann Paul.Zimmermann at inria.fr
Fri Sep 27 13:39:01 UTC 2019

> From: tg at gmplib.org (Torbjörn Granlund)
> Date: Fri, 27 Sep 2019 14:06:34 +0200
> Marc Glisse <marc.glisse at inria.fr> writes:
>   The report was also about mpz_get_str, which does not have this
>   limitation. And for printf, it should be possible to make it print
>   correctly and return a nonsense integer.
> Maybe.
> But we cannot make %* type arguments work, easily.  It will be limping
> unless we change int to size_t (or some such).

it would be a great progress if the limits of mpz_get_str/mpz_set_str were
raised, and if the limitations of gmp_*printf (if any) were documented.


More information about the gmp-bugs mailing list