Anonymous user
Continued fraction/Arithmetic/Construct from rational number: Difference between revisions
Continued fraction/Arithmetic/Construct from rational number (view source)
Revision as of 16:53, 19 October 2015
, 8 years ago→{{header|Mathematica}}
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]
|