Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Gosper arithmetic in Python

Reply
Thread Tools

Gosper arithmetic in Python

 
 
Marcin Ciura
Guest
Posts: n/a
 
      02-12-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/...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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Python -- floating point arithmetic david mainzer Python 3 07-08-2010 12:16 PM
Arithmetic sequences in Python Gregory Petrosyan Python 73 01-24-2006 05:02 AM
list(...) and list comprehensions (WAS: Arithmetic sequences in Python) Steven Bethard Python 7 01-20-2006 04:13 PM
Usual Arithmetic Conversions-arithmetic expressions joshc C Programming 5 03-31-2005 02:23 AM
pure python code to do modular-arithmetic unit conversions? Dan Stromberg Python 2 01-22-2005 04:11 AM



Advertisments