ANN: mpmath 0.9 released

Fredrik Johansson fredrik.johansson at gmail.com
Sat Aug 23 17:35:26 CEST 2008


Hi,

Mpmath version 0.9 is now available from the website:
http://code.google.com/p/mpmath/

It can also be downloaded from the Python Package Index:
http://pypi.python.org/pypi/mpmath/0.9

Mpmath is a pure-Python library for arbitrary-precision
floating-point arithmetic that implements an extensive set of
mathematical functions. It can be used as a standalone library
or via SymPy (http://code.google.com/p/sympy/).

The most significant change in 0.9 is that mpmath now transparently
uses GMPY (http://code.google.com/p/gmpy/) integers instead of
Python's builtin integers if GMPY is installed. This makes mpmath
much faster at high precision. Computing 1 million digits of pi,
for example, now only takes ~10 seconds.

Extensive benchmarks (with and without GMPY) are available here:
http://mpmath.googlecode.com/svn/bench/mpbench.html

Credit goes to Case Van Horsen for implementing GMPY support.

There are many new functions, including Jacobi elliptic functions
(contributed by Mike Taschuk), various exponential integrals,
Airy functions, Fresnel integrals, etc. Several missing basic
utility functions have also been added, and Mario Pernici has
taken great care to optimize the implementations of various
elementary functions.

For a more complete changelog, see:
http://mpmath.googlecode.com/svn/trunk/CHANGES

Bug reports and other comments are welcome at the issue tracker:
http://code.google.com/p/sympy/issues/list

or the mpmath mailing list:
http://groups.google.com/group/mpmath

Thanks to all who contributed code or provided feedback for
this release!

Fredrik


More information about the Python-announce-list mailing list