GMP symbol naming (and the history thereof)?

Torbjorn Granlund tg at gmplib.org
Thu Feb 28 14:36:21 CET 2013


I try to classify things on my list a bit further, and correct errors.
I stumbed over some functions.  I need feedback here.

mpn_div_qr_2 is decl but not doc.
I suggest we move the declaration to gmp-impl.h.

mpn_divrem_2 is decl but not doc.
I suggest we move the declaration to gmp-impl.h.

mpn_gcdext_1 is decl but not doc.
It seems to make sense to have a user-available mpn_gcdext_1.
We have mpn_gcd_1 already.

mpn_pow_1 is decl but not doc.
I suggest we move the declaration to gmp-impl.h.

mpn_perfect_power_p is decl but not doc.
I suggest we move the declaration to gmp-impl.h.

mpn_preinv_mod_1 is decl but not doc.
I think it *was* documented in the past, so we should keep it.

mpz_limb*, mpz_roinit_n are decl but not doc.
I kindly but strongly suggest that the are documented...

mpz_millerrabin is decl but not doc.
I suppose we might make a Miller-Rabin function public, perhaps this one.

mp?_dump are decl but not doc.
We might as well make these public.

I put the new file at http://gmplib.org/devel/gmp-func-list.txt.
Comitters are welcome to keep annotating it.

-- 
Torbjörn


More information about the gmp-devel mailing list