Contents

mpmath 1.3.0

0

Python library for arbitrary-precision floating-point arithmetic

Python library for arbitrary-precision floating-point arithmetic

Stars: 1081, Watchers: 1081, Forks: 204, Open Issues: 104

The mpmath/mpmath repo was created 14 years ago and the last code push was 2 days ago.
The project is very popular with an impressive 1081 github stars!

How to Install mpmath

You can install mpmath using pip

pip install mpmath

or add it to a project with poetry

poetry add mpmath

Package Details

Author
Fredrik Johansson
License
BSD
Homepage
http://mpmath.org/
PyPi:
https://pypi.org/project/mpmath/
Documentation:
http://mpmath.org/doc/current/
GitHub Repo:
https://github.com/fredrik-johansson/mpmath

Classifiers

  • Scientific/Engineering/Mathematics
  • Software Development/Libraries/Python Modules
No  mpmath  pypi packages just yet.

Errors

A list of common mpmath errors.

Code Examples

Here are some mpmath code examples and snippets.

GitHub Issues

The mpmath package has 104 open issues on GitHub

  • Add tests scripts in demo/
  • Implement to_str() option to output a minimal number of digits
  • Behavior of the 'b'/'B' formatting type
  • Misc fixes
  • Fix #1002: Raise ValueError when zero matrix is passed to logm()
  • Slight optimization for log2(x).
  • Release mpmath 1.4
  • Port missing functions corresponding to the math module for compatibility.
  • plot(), cplot(), splot() show the previous blank graph windows when exception has been raised.
  • Added Brent's solver - verified correctness using test cases.
  • Support for signed zeros in the mp context
  • Infinite loop in MDNewton solver
  • Signed zero
  • Clamping

See more issues on GitHub

Related Packages & Articles