Cleanup mpz_out_str in tests

Marco Bodrato bodrato at mail.dm.unipi.it
Thu Mar 26 08:24:38 UTC 2020


Ciao,

Il 2020-03-26 02:15 Seth Troisi ha scritto:
> This cleans up a number of
> 
> printf(...)
> mpz_out_str(stdout, 10/16, var);
> printf(...);
> 
> and replaces them with
> 
> gmp_printf(...%Zd..., var);

Why? Is the current code not working?

In mini-gmp we have mpz_out_str, but we don't have gmp_printf.
The code with mpz_out_str is (more) easily re-usable with mini-.

Ĝis,
m


More information about the gmp-devel mailing list