Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples pep8 fixes Nov 4, 2013
gmpy_cffi Merge branch 'gmpy2tests' Mar 19, 2014
tests mpfr division by zero returns inf Dec 27, 2013
.coveragerc add .coveragerc Nov 18, 2013
.travis.yml remove travis --use-mirrors flags Nov 3, 2014
LICENSE.txt add BSD 3-clause license Nov 9, 2013
README.rst add pip install instructions to README Jan 1, 2014
TODO update TODO file Nov 8, 2013 add download_url to Jan 1, 2014



GMPY_CFFI is a python wrapper of the GNU Multiple Precision Arithmetic Library. It aims to be a PyPy compatible alternative to gmpy2. Consequently we use the python cffi library to wrap:

  • GMP for integer and rational arithmetic.
  • MPFR for correctly rounded floating-point arithmetic.
  • MPC for correctly rounded complex floating-point arithmetic.


To install gmpy_cffi, simply run:

$ pip install gmpy_cffi


You can’t perform that action at this time.