bodr...@mail.dm.unipi.it writes: > 1) mpz/generic/sizeinbase.c is unused.
s/mpz/mpn/, right? > Should we remove it? Or, at least, write it as: > > size_t > 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 that. 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. Regards, /Niels -- Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26. Internet email is subject to wholesale government surveillance. _______________________________________________ gmp-devel mailing list gmp-devel@gmplib.org http://gmplib.org/mailman/listinfo/gmp-devel