Metadata-Version: 2.4
Name: gmpy2
Version: 2.3.0a1
Summary: gmpy2 interface to GMP, MPFR, and MPC for Python 3.8+
Author: Case Van Horsen
Maintainer-email: Case Van Horsen <casevh@gmail.com>
License-Expression: LGPL-3.0-or-later
Project-URL: Homepage, https://github.com/aleaxit/gmpy
Keywords: gmp,mpfr,mpc,multiple-precision,arbitrary-precision,precision,bignum
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: Natural Language :: English
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX
Classifier: Programming Language :: C
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Scientific/Engineering :: Mathematics
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.9
Description-Content-Type: text/x-rst
License-File: COPYING
License-File: COPYING.LESSER
Provides-Extra: docs
Requires-Dist: sphinx>=4; extra == "docs"
Requires-Dist: sphinx-rtd-theme>=1; extra == "docs"
Provides-Extra: tests
Requires-Dist: pytest; extra == "tests"
Requires-Dist: hypothesis; extra == "tests"
Requires-Dist: cython; extra == "tests"
Requires-Dist: mpmath; extra == "tests"
Requires-Dist: setuptools; extra == "tests"
Requires-Dist: numpy; (python_version >= "3.10" and platform_system == "Linux" and platform_python_implementation != "PyPy") and extra == "tests"
Dynamic: license-file

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).

Version 2.3
-----------

gmpy2 2.3.0
-----------

gmpy2 2.3.0 supports Python 3.14 and free-threaded builds,

* Preliminary support for free-threaded builds.
* Fix behavior and memory leaks for contexts.
* Fix memory leaks for `mpfr` caching.
* Fix rounding error in float(mpz).
* Add missing methods to `mpz` and `mpq`.
* Fix round(mpz, ndigits) if ndigits is negative.
* Improved support for mixed `mpfr` and `mpc` arithmetic.

Version 2.2
-----------

gmpy2 2.2.2 (released as 2.3.0)
-------------------------------

* Many bug fixes.
* Initial support for free-threaded builds.

gmpy2 2.2.1
-----------

* Bug fix: use C int instead of C char for some internal code.
* Bug fix: add xmpz.bit_count method.

gmpy2 2.2.0
-----------

gmpy2 2.2.0 is now available with support for Python 3.7 to 3.13.

* Support for thread-safe contexts and context methods has been improved.
* Interoperability with Cython extensions has been updated.
* Extensive improvements have been made to the build and testing processes.
* Many bug fixes.
* Extensive documentation cleanup.

Availability
------------

gmpy2 is available at https://pypi.python.org/pypi/gmpy2/

Documentation is available at https://gmpy2.readthedocs.io/en/latest/
