.TH sdiv() "" "" "Multiple-Precision Mathematics (libmp)"
.PC "Divide multiple-precision integers"
.B "#include <mprec.h>"
\fBvoid sdiv(\fIa, n, q, ip\^\fB)\fR
\fBmint *\fIa, \fB*\fIq\^\fB; int \fIn, \fB*\fIip\^\fB;\fR
.PP
.B sdiv()
divides the multiple-precision integer (or \fBmint\fR) pointed to by
.I a
with the integer
.IR n ,
which is in the range 1 <= \fIn\fR <= 128.
It writes the quotient into the \fBmint\fR pointed to by
.I q
and the remainder into the integer pointed to by
.IR ip .
.SH "See Also"
.Xr "libmp" libmp
