[Edu-sig] Back to continued fractions

Kirby Urner urnerk at qwest.net
Sat May 21 01:14:50 CEST 2005


This is continuing threads of a long time ago, when we explored Python and
Continued Fractions (CFs).  As I recall, Tim Peters showed me the
non-recursive algorithms for doing them.  In the module below, however, I'm
doing recursive:

http://mathforum.org/kb/thread.jspa?threadID=1153661&tstart=0

Note it's all set up for doctest unit testing, but I don't actually show
that infrastructure being invoked.  This is partly out of deference to Math
Forum readers being non-Python readers in large degree -- there's only so
much they need to know via that API.

Kirby




More information about the Edu-sig mailing list