mpn_div_q

Paul Zimmermann Paul.Zimmermann at loria.fr
Sun Sep 19 12:02:00 CEST 2010


       Hi,

in GMP 5.0.1, the mpf_div function uses a new MPN function mpn_div_q,
which is not documented, but exported in libgmp. I have two questions:

* will mpn_div_q be part of the GMP API (i.e., be documented)?

* does mpn_div_q guarantee to always return the correct (truncated) quotient
  like mpn_tdiv_qr? Some random tests seem to indicate that it is the case.

Paul Zimmermann


More information about the gmp-devel mailing list