File:  [MW Coherent from dump] / coherent / a / usr / man / COHERENT / mdiv
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:34 2019 UTC (7 years ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent



mdiv()            Multiple-Precision Mathematics           mdiv()




Divide multiple-precision integers

#include <mprec.h>
vvooiidd mmddiivv(_a, _b, _q, _r)
mmiinntt *_a, *_b, *_q, *_r;

The COHERENT  system includes a suite of  routines that allow you
to  perform multiple-precision  mathematics.   The function  mdiv
divides the multiple-precision  integer (or mmiinntt) 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:

11. _a = _q * _b + _r

22. The sign of r equals the sign of q

33. The absolute value of r  is greater than the absolute value of
   b.

***** See Also *****

multiple-precision mathematics

































COHERENT Lexicon                                           Page 1



unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.