Continued fraction: Difference between revisions

m
Removed useless “$” when calling “echo”.
m (→‎{{header|Phix}}: simplify: use functions with multiple returns)
m (Removed useless “$” when calling “echo”.)
Line 1,995:
(a, b)
 
echo $calc(sqrt2, 20)
echo $calc(napier, 15)
echo $calc(pi, 10000)</lang>
{{out}}
<pre>1.414213562373095
Anonymous user