nisse at lysator.liu.se
Thu Jun 14 21:57:07 CEST 2012
bodrato at mail.dm.unipi.it writes:
> 1) mpz/generic/sizeinbase.c is unused.
> Should we remove it? Or, at least, write it as:
> mpn_sizeinbase (mp_srcptr xp, mp_size_t xsize, int base)
> size_t result;
> MPN_SIZEINBASE (result, xp, xsize, base);
> return result;
I think it makes sense to keep the function, and to reimplement it like
Also the documentation for mpn_get_str ought to be revised, and the
revised version ought to refer to mpn_sizeinbase as the recommended
method for figuring out the space needed.
Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.
More information about the gmp-devel