Hi everyone,

This is not really a bug, but I didn't know where to send it. This page (
https://gmplib.org/manual/Integer-Division) states:

"For the ui variants the return value is the remainder, and in fact
returning the remainder is all the div_ui functions do."

This was confusing to me, so I decided to try it. Indeed the `mpz_tdiv_q_ui`
 function does actually compute the quotient, as its signature implies.
Would it be possible to remove the words "and in fact returning the
remainder is all the div_ui functions do."?

Thanks,
Isaac
_______________________________________________
gmp-bugs mailing list
[email protected]
https://gmplib.org/mailman/listinfo/gmp-bugs

Reply via email to