mmddiivv() -- Multiple-Precision Mathematics (libmp)

Divide multiple-precision integers
#iinncclluuddee <mmpprreecc.hh>
vvooiidd mmddiivv(_a, _b, _q, _r)
mmiinntt *_a, *_b, *_q, *_r;

mmddiivv() divides  the multiple-precision  integer (or  mmiinntt) pointed to  by _a
with  that pointed  to by  _b. It  writes the  quotient and  remainder into,
respectively, _q  and _r. _b must  not be zero.  The  results of the operation
are defined by the following conditions:

11. _a = _q * _b + _r

22. The sign of _r equals the sign of _q

33. The absolute value of _r is greater than the absolute value of _b.

_S_e_e _A_l_s_o
lliibbmmpp
