COHERENT manpages

This page displays the COHERENT manpage for sdiv() [Divide multiple-precision integers].

List of available manpages
Index


sdiv() -- Multiple-Precision Mathematics (libmp)

Divide multiple-precision integers
#include <mprec.h>
void sdiv(a, n, q, ip)
mint *a, *q; int n, *ip;

sdiv() divides  the multiple-precision  integer (or  mint) pointed to  by a
with the integer  n, which is in the range  1 <= n <= 128.  It writes
the  quotient into  the mint  pointed to  by q and  the remainder  into the
integer pointed to by ip.

See Also

libmp