Gosper arithmetic in Python
Marcin Ciura
marcin.ciura at poczta.NOSPAMonet.pl
Mon Feb 12 15:54:48 EST 2007
Hello,
I hacked together a module implementing exact real
arithmetic via lazily evaluated continued fractions.
You can download it from
http://www-zo.iinf.polsl.gliwice.pl/~mciura/software/cf.py
an use as an almost drop-in replacement for the math module
if you don't care too much about performance.
I'd be happy to hear any feedback and suggestions.
Cheers,
Marcin
More information about the Python-list
mailing list