mpz_divexact

Niels Möller nisse at lysator.liu.se
Fri Dec 18 16:59:06 CET 2009


Torbjorn Granlund <tg at gmplib.org> writes:

> With these and some other minor changes, the code becomes the following:

Thanks for the cleanup. Seems to work fine, except for

>     SIZ(quot) = (nn ^ dn) >= 0 ? qn : -qn;

which breaks because nn and dn are always non-negative values. Working
code checked in now.

Regards,
/Niels

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


More information about the gmp-devel mailing list