Continued fraction/Arithmetic/G(matrix ng, continued fraction n1, continued fraction n2): Difference between revisions

Content added Content deleted
Line 2,633: Line 2,633:


This program includes a primitive module for multiple-precision integer arithmetic. It is adequate for the task.
This program includes a primitive module for multiple-precision integer arithmetic. It is adequate for the task.

Parts of the program might assume two's-complement representation of signed integers. The requirement that integers be two's-complement seems to me unlikely ever to become a part of Fortran standards (even though it will be required in future C standards).


<syntaxhighlight lang="fortran">
<syntaxhighlight lang="fortran">