msqrt() Multiple-Precision Mathematics msqrt() Compute square root of multiple-precision integer #include <mprec.h> void msqrt(a, b, r) mint *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 mint) pointed to by b to the integral portion of the positive square root of the mint pointed to by a. It sets the mint 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