[Edu-sig] modeling the rational numbers

kirby urner kirby.urner at gmail.com
Fri Aug 24 03:54:33 CEST 2007


On 8/23/07, kirby urner <kirby.urner at gmail.com> wrote:

> If you write it so that numerators and denominators accept Rationals
> as input types, then you have the bases for Continuing Fractions,

More typically called Continued Fractions of course:

http://archives.math.utk.edu/articles/atuyl/confrac/

More code right here in this archive (going back to CP4E days),
or check my website e.g.:

http://www.4dsolutions.net/ocn/numeracy0.html
(scroll to bottom -- vintage turn of the millennium Pythonic stuff). [1]

Kirby

[1] Re "when did the millennium turn":
http://members.aol.com/rotanasnem/poster.htm


More information about the Edu-sig mailing list