|
|
coherent
msqrt() Multiple-Precision Mathematics msqrt()
Compute square root of multiple-precision integer
#include <mprec.h>
vvooiidd mmssqqrrtt(_a, _b, _r)
mmiinntt *_a, *_b, *_r;
The COHERENT system includes a suite of routines that allow you
to perform multiple-precision mathematics. The function msqrt
sets the multiple-precision integer (or mmiinntt) pointed to by b to
the integral portion of the positive square root of the mmiinntt
pointed to by a. It sets the mmiinntt pointed to by r to the
remainder. The value pointed to by a must not be negative. The
result of the operation is defined by the condition
_a = _b * _b + _r.
***** See Also *****
multiple-precision mathematics
COHERENT Lexicon Page 1
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.