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
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 to
do that, I ask that you at least add me as a coauthor.

Collin Stocks

On 2/12/07, Marcin Ciura <[EMAIL PROTECTED]> wrote:
>
> 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<http://www-zo.iinf.polsl.gliwice.pl/%7Emciura/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
> --
> http://mail.python.org/mailman/listinfo/python-list
>



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to