Continued fraction/Arithmetic/G(matrix ng, continued fraction n): Difference between revisions
Content added Content deleted
Line 112: | Line 112: | ||
The approach used here leaks memory freely, and so a program using it may require a garbage collector. An advantage, however, is that it memoizes results. |
The approach used here leaks memory freely, and so a program using it may require a garbage collector. An advantage, however, is that it memoizes results. |
||
For no reason |
For no reason except my curiosity, this demo program outputs its results in MathML. |
||
<syntaxhighlight lang="ats"> |
<syntaxhighlight lang="ats"> |