Niels Möller nisse at
Thu May 6 15:50:10 CEST 2010

nisse at (Niels Möller) writes:

> So, what should the interface be?
>   void
>   mpn_div_qr_2 (mp_ptr qp, mp_ptr rp, mp_srcptr up, mp_size_t un,
>   	        mp_srcptr dp, mp_limb_t dinv);

I forgot one detail. This function should return the most significant
(possibly zero) limb of the quotient, rather than storing it.


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