mini-gmp mpn_gcd?
Niels Möller
nisse at lysator.liu.se
Fri Oct 18 19:22:49 CEST 2024
Niels Möller <nisse at lysator.liu.se> writes:
> the subset of mpn functions in mini-gmp is rather small, but can be
> expanded as needed. Would it make sense to add mpn_gcd? Patch below, net
> increase about 35 lines.
>
> It's a bit annoying that we need both mpn_make_odd and mpz_make_odd.
Pushed a slightly different variant, with no mpn_make_odd. And added
tests for mpn_gcd.
Torbjörn: On pushing, I saw these messages:
remote: added 1 changesets with 4 changes to 4 files
remote: notify: sending 1 subscribers 1 changes
remote: warning: changegroup.makesnap hook exited with status 12
(and with a noticable delay between the last two lines). Maybe you want
to check what was happening at the other end.
Regards,
/Niels
--
Niels Möller. PGP key CB4962D070D77D7FCB8BA36271D8F1FF368C6677.
Internet email is subject to wholesale government surveillance.
More information about the gmp-devel
mailing list