Automatically exported from
C Objective-C C++ Python
Clone or download
Latest commit d7c50c3 Jul 16, 2018
Failed to load latest commit information.
build.vc10 No commit message Oct 8, 2012
build.vc11 add Visual Studio 2012, 2013 builds and add a build for Python 3.4 Jun 24, 2014
build.vc12 correct minor error in Visual Studio 2013 build files Dec 7, 2014
build.vc9 Add Visual Studio 2008 build files for gmpy2 (not well tested) Aug 15, 2010
demo Refactor gmpy2.h; install gmpy2.h but no other header files; fix gmpy… Apr 20, 2017
docs Documentatuion cleanup, part 1. Jul 16, 2018
gmpy2 Fix cython C-API imports. Add internal variable and functions to top … Apr 18, 2018
msys2 WIP: msys2 build documentation. Apr 7, 2017
src Apply fix for issue 202. Jul 16, 2018
test Support for differences between MPFR3 and MPFR4 version of root/rootn… Jun 10, 2018
test_cython test_cython.pyx : Fix issue #170 Nov 16, 2017
.appveyor.yml More cleanup Jan 22, 2018
.travis.yml .travis.yml install a newer version of cython Apr 19, 2018
COPYING [trunk] Add updated GNU license files. Feb 19, 2012
COPYING.LESSER [trunk] Add updated GNU license files. Feb 19, 2012
INSTALL Fix documentation typos Feb 19, 2018 Add gmpy2.h to manifest so it gets included in source distributions. R… Jun 6, 2018
README Update docs and prepare for v2.1.0a2 Apr 14, 2018
msys2_build.txt WIP: msys2 build documentation. Apr 7, 2017 Change version to 2.1.0a3dev0 Apr 15, 2018 Change version to 2.1.0a3dev0 Apr 15, 2018
windows_build.txt Final edits and version bump for 2.1.0a1. Nov 6, 2017


gmpy2 is an optimized, C-coded Python extension module that supports fast
multiple-precision arithmetic.  gmpy2 is based on the original gmpy module.
gmpy2 adds support for correctly rounded multiple-precision real arithmetic
(using the MPFR library) and complex arithmetic (using the MPC library).

The gmpy2 2.0.x series is a stable version that is only receiving bug fixes.
The main development branch (2.1.x) was extensively refactored. The most
significant changes are support for thread-safe contexts and context methods.

gmpy2 is available at

Documentation is available at