By the way, there are some commented out portions of code in there which you
can just remove, if you want. The last two lines of the program are
unnecessary, as well.
On 2/12/07, Subscriber123 <[EMAIL PROTECTED]> wrote:
Speaking of useful home-made modules, I wrote this primitive module which
d
Speaking of useful home-made modules, I wrote this primitive module which
does limited math with fractions. Anyone is welcome to expand on it or use
it for any purpose. If anyone would like to submit it as a PEP to be added
to the Python library of reference, that would be great. If anyone wishes
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 performanc