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

m
m (→‎{{header|REXX}}: changed extra digits and optimized the sqrt function, added a comment.)
Line 559:
└───┴─┴─────┴─────┴───┴─────────────────────────────────┴─────────┘</lang>
 
=={{header|Mathematica}} / {{header|Wolfram Language}}==
Mathematica has a build-in function ContinuedFraction.
<lang mathematica>ContinuedFraction[1/2]
Anonymous user