Continued fraction/Arithmetic/Construct from rational number: Difference between revisions
Content added Content deleted
(→{{header|ALGOL 68}}: Fix negative numbers) |
m (→{{header|ALGOL 68}}: Typo) |
||
Line 122:
);
# returns the
# numerator and denominator to the next values for #
# the continued fraction #
PROC r2cf = ( REF INT numerator, REF INT denominator )INT:
IF denominator = 0
|