Most viewed recipes tagged "fractions"http://code.activestate.com/recipes/tags/fractions/views/2013-08-22T07:15:47-07:00ActiveState Code RecipesContinued fractions (Python)
2013-08-22T07:15:47-07:00Glenn Hutchingshttp://code.activestate.com/recipes/users/4175415/http://code.activestate.com/recipes/578647-continued-fractions/
<p style="color: grey">
Python
recipe 578647
by <a href="/recipes/users/4175415/">Glenn Hutchings</a>
(<a href="/recipes/tags/decimal/">decimal</a>, <a href="/recipes/tags/fractions/">fractions</a>).
Revision 2.
</p>
<p>A class representing a <a href="https://en.wikipedia.org/wiki/Continued_fraction">continued fraction</a>.</p>