|
|
1.1 ! root 1: ! 2: ! 3: msqrt() Multiple-Precision Mathematics msqrt() ! 4: ! 5: ! 6: ! 7: ! 8: Compute square root of multiple-precision integer ! 9: ! 10: #include <mprec.h> ! 11: vvooiidd mmssqqrrtt(_a, _b, _r) ! 12: mmiinntt *_a, *_b, *_r; ! 13: ! 14: The COHERENT system includes a suite of routines that allow you ! 15: to perform multiple-precision mathematics. The function msqrt ! 16: sets the multiple-precision integer (or mmiinntt) pointed to by b to ! 17: the integral portion of the positive square root of the mmiinntt ! 18: pointed to by a. It sets the mmiinntt pointed to by r to the ! 19: remainder. The value pointed to by a must not be negative. The ! 20: result of the operation is defined by the condition ! 21: ! 22: ! 23: _a = _b * _b + _r. ! 24: ! 25: ! 26: ***** See Also ***** ! 27: ! 28: multiple-precision mathematics ! 29: ! 30: ! 31: ! 32: ! 33: ! 34: ! 35: ! 36: ! 37: ! 38: ! 39: ! 40: ! 41: ! 42: ! 43: ! 44: ! 45: ! 46: ! 47: ! 48: ! 49: ! 50: ! 51: ! 52: ! 53: ! 54: ! 55: ! 56: ! 57: ! 58: ! 59: ! 60: ! 61: ! 62: ! 63: ! 64: COHERENT Lexicon Page 1 ! 65: ! 66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.