Torbjorn Granlund <t...@gmplib.org> writes: > I notice you make this non-public. Is it premature to make it part of > the public interface?
Pushed now, with declarations moved to gmp-h.in. I noticed one peculiarity when testing: for m = 1, mpz_invert considers every a uninvertible, while mpn_sec_minvert considers every a invertible, with inverse 0. The latter is consistent with gcd (a, 1) = 1 for all a. Not sure what the common mathematic convention is for the trivial ring Z_1 with only a single element, 0 (mod 1). 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 https://gmplib.org/mailman/listinfo/gmp-devel