Summary
gmpy2 is a C-coded Python extension module that supports multiple-precision arithmetic. gmpy2 supports the GMP multi-precision library, the MPFR (correctly rounded real floating-point arithmetic) and MPC (correctly rounded complex floating-point arithmetic) libraries.
Versions
v2.2.1 :: 2 :: gentoo
- Modified
- License
- LGPL-3+
- Keywords
- amd64 arm arm64 hppa ppc ppc64 sparc x86 ~amd64-linux ~loong ~mips ~ppc-macos ~riscv ~x64-macos ~x86-linux
- USE flags
- debug test
USE flags
General
- debug
- Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
- test
- Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
python_targets
- python3_10
- Build with Python 3.10
- python3_11
- Build with Python 3.11
- python3_12
- Build with Python 3.12
- python3_13
- Build with Python 3.13
Dependencies
dev-lang / python : Freethreading (no-GIL) version of Python programming language
dev-libs / gmp : Library for arbitrary-precision arithmetic on different type of numbers
dev-libs / mpc : A library for multiprecision complex arithmetic with exact rounding
dev-libs / mpfr : Library for multiple-precision floating-point computations with exact rounding
Runtime Dependencies
dev-lang / python : Freethreading (no-GIL) version of Python programming language
dev-libs / gmp : Library for arbitrary-precision arithmetic on different type of numbers
dev-libs / mpc : A library for multiprecision complex arithmetic with exact rounding
dev-libs / mpfr : Library for multiple-precision floating-point computations with exact rounding
Depending packages
app-crypt / badkeys : Check cryptographic keys for known weaknesses
dev-python / ecdsa : ECDSA cryptographic signature library in pure Python
dev-python / pplpy : Python bindings for the Parma Polyhedra Library (PPL)
sci-mathematics / cadabra : Field-theory motivated approach to computer algebra
Change logs
- Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
Rename dev-python/{gmpy → gmpy2}
Signed-off-by: Michał Górny <mgorny@gentoo.org>