Continued fraction/Arithmetic/Construct from rational number: Difference between revisions

Content added Content deleted
Line 1,759: Line 1,759:
=={{header|Icon}}==
=={{header|Icon}}==


Here '''r2cf''' is really "called" only once, but then suspended and resumed repeatedly.
Here, for each test case, '''r2cf''' is really "called" only once, but then suspended and resumed repeatedly.


<syntaxhighlight lang="icon">
<syntaxhighlight lang="icon">