This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

FromContinuedFraction

FromContinuedFraction[list]
reconstructs a number from the list of its continued fraction terms.
  • The can be symbolic. »
  • FromContinuedFraction returns the exact number whose continued fraction terms start with the , then consist of cyclic repetitions of the .
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=
Quadratic irrationals (recurring continued fractions):
Symbolic form:
Compare with the division-based form:
Rational approximation to :
Numbers with simple recurring continued fractions:
New in 4