Tim Peters wrote: > > [M.-A. Lemburg] > > Looking around some more on the web, I found that the GNU MP (GMP) > > lib has switched from being GPLed to LGPLed, > > Right. > > > meaning that it can actually be used by non-GPLed code as long as > > the source code for the GMP remains publically accessible. > > Ask Stallman <0.9 wink>. > > > ... > > Since the GMP offers arbitrary precision numbers and also has > > a rational number implementation I wonder if we could use it > > in Python to support fractions and arbitrary precision > > floating points ?! > > Note that Alex Martelli runs the "General Multiprecision Python" project on > SourceForge: > > http://gmpy.sourceforge.net/ > > He had a severe need for fast rational arithmetic in his Python programs, so > starting wrapping the full GMP out of necessity. I found that link after hacking away at yet another GMP wrapper for three hours Friday night... turned out to be a nice proof of concept, but also showed some issues with respect to coercion (see my other reply). -- Marc-Andre Lemburg ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Pages: http://www.lemburg.com/python/
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4