mpz_invert (x, 1, 0)

bodrato at mail.dm.unipi.it bodrato at mail.dm.unipi.it
Thu Mar 1 16:07:53 CET 2012


Ciao!

The implementation of mpz_invert in GMP 5.0.4, called with
mpz_invert (x, 1, 0), return x=1, i.e. it gives 1 as the inverse of 1
modulo zero.

I recently changed the behaviour of that function in the main repo:
http://gmplib.org:8000/gmp/rev/ac67d45cb24e

I'd like to backport this change to the 5.0 branch, with the new test
Torbjorn wrote for that function.


Regards,
m

-- 
http://bodrato.it/
http://www.notav.eu/modules.php?name=ePetitions&op=more_info&ePetitionId=3



More information about the gmp-devel mailing list