Function creachadair_imath_sys::mp_int_div
source · [−]Expand description
Sets q
and r
to the quotent and remainder of a / b
. Division by
powers of 2 is detected and handled efficiently. The remainder is pinned
to 0 <= r < b
.
Either of q
or r
may be NULL, but not both, and q
and r
may not
point to the same value.