Multi-precision packages: gmpy vs mxNumber

Gerhard Häring gerhard at bigfoot.de
Tue May 14 21:49:44 EDT 2002


Fernando Pérez wrote in comp.lang.python:
> Do any of the experts have any advice on the pros and cons of these two GMP 
> wrappers? [...]

While we're at it, is there any Python extension for fixed point
arithmetic available? pyPgSQL has a fixed point type implemented in
Python, which should eventually be replaced by a C type. It would be
great if I could borrow code somewhere.

Gerhard
-- 
mail:   gerhard <at> bigfoot <dot> de       registered Linux user #64239
web:    http://www.cs.fhm.edu/~ifw00065/    OpenPGP public key id AD24C930
public key fingerprint: 3FCC 8700 3012 0A9E B0C9  3667 814B 9CAA AD24 C930
reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))



More information about the Python-list mailing list