Continued fraction/Arithmetic/G(matrix ng, continued fraction n1, continued fraction n2): Difference between revisions
Content added Content deleted
Line 810: | Line 810: | ||
=={{header|ATS}}== |
=={{header|ATS}}== |
||
{{trans|Python}} |
{{trans|Python}} |
||
===Using 128-bit integers=== |
|||
(''Margin note'': This program is a bug-fix of an ATS program on which I based Python code. It does not really matter, however, which program came first. So I am calling this a translation from Python.) |
(''Margin note'': This program is a bug-fix of an ATS program on which I based Python code. It does not really matter, however, which program came first. So I am calling this a translation from Python.) |
||
Line 1,818: | Line 1,820: | ||
sqrt(2) / sqrt(2) => [1] |
sqrt(2) / sqrt(2) => [1] |
||
</pre> |
</pre> |
||
===Using multiple precision numbers=== |
|||
=={{header|C}}== |
=={{header|C}}== |