CMD + K

gmpy2

Anaconda Verified

gmpy2 interface to GMP, MPFR, and MPC for Python 3.7+

Installation

To install this package, run one of the following:

Conda
$conda install main::gmpy2

Usage Tracking

2.2.2
2.2.1
2.1.2
2.0.8
4 / 8 versions selected
Downloads (Last 6 months): 0

Description

gmpy2 is a C-coded Python extension module that supports multiple-precision arithmetic. It is the successor to the original gmpy module (supported only the GMP library). gmpy2 adds support for the MPFR (correctly rounded real floating-point arithmetic) and MPC (correctly rounded complex floating-point arithmetic) libraries.

About

Summary

gmpy2 interface to GMP, MPFR, and MPC for Python 3.7+

Last Updated

Dec 3, 2025 at 08:17

License

LGPL-3.0-or-later

Total Downloads

23.3K

Supported Platforms

macOS-arm64
linux-64
linux-aarch64
win-64

Unsupported Platforms

linux-ppc64le Last supported version: 2.1.2
win-32 Last supported version: 2.1.2
linux-s390x Last supported version: 2.2.1
macOS-64 Last supported version: 2.2.1
linux-32 Last supported version: 2.0.8