mpn_gcd documentation [Was: Replacing gcd_1 with gcd_11]

Niels Möller nisse at lysator.liu.se
Fri Jan 3 14:52:37 UTC 2020


"Marco Bodrato" <bodrato at mail.dm.unipi.it> writes:

> Il Ven, 3 Gennaio 2020 12:46 pm, Niels Möller ha scritto:
>> Looks good to me. I wonder if mpn_gcdext with two even arguments is
>> tested, or if its doc needs a corresponding update?
>
> I pushed it.

Thanks.

> mpn_gcdext is tested by mpz/t-gcd, and mpz_gcdext does not seem to handle
> the parity in any way. So I believe mpn_gcdext should not have any further
> restriction to document. But I'll be happy if other developers can check
> :-)

At least, it seems that mpn_gcdext_1 supports even inputs (unlike
mpn_gcd_11), and this is tested by (the fairly recent) t-gcdext_1.c.

Regards,
/Niels

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid 368C6677.
Internet email is subject to wholesale government surveillance.


More information about the gmp-devel mailing list