Skip to main content

GMP/MPIR, MPFR, and MPC interface to Python 2.6+ and 3.x

Project description

gmpy2 is a C-coded Python extension module that supports multiple-precision arithmetic. In addition to supporting GMP or MPIR for multiple-precision integer and rational arithmetic, gmpy2 adds support for the MPFR (correctly rounded real floating-point arithmetic) and MPC (correctly rounded complex floating-point arithmetic) libraries.

Release 2.0.7 has the following fixes:

  1. math.floor(gmpy2.mpfr(‘inf’)) no longer segfaults.

  2. The “wheel” format is used for the Windows binaries.

Release 2.0.6 has the following fixes:

  1. setup.py no longer changes the meaning of –prefix.

  2. Using the ‘X’ format code now works properly (convert to hex using upper-case letters).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gmpy2-2.0.7.zip (280.4 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

gmpy2-2.0.7-cp34-none-win_amd64.whl (444.1 kB view details)

Uploaded CPython 3.4Windows x86-64

gmpy2-2.0.7-cp34-none-win32.whl (362.2 kB view details)

Uploaded CPython 3.4Windows x86

gmpy2-2.0.7-cp33-none-win_amd64.whl (444.3 kB view details)

Uploaded CPython 3.3Windows x86-64

gmpy2-2.0.7-cp33-none-win32.whl (362.5 kB view details)

Uploaded CPython 3.3Windows x86

gmpy2-2.0.7-cp32-none-win_amd64.whl (447.2 kB view details)

Uploaded CPython 3.2Windows x86-64

gmpy2-2.0.7-cp32-none-win32.whl (361.3 kB view details)

Uploaded CPython 3.2Windows x86

gmpy2-2.0.7-cp27-none-win_amd64.whl (450.0 kB view details)

Uploaded CPython 2.7Windows x86-64

gmpy2-2.0.7-cp27-none-win32.whl (363.6 kB view details)

Uploaded CPython 2.7Windows x86

gmpy2-2.0.7-cp26-none-win_amd64.whl (451.1 kB view details)

Uploaded CPython 2.6Windows x86-64

gmpy2-2.0.7-cp26-none-win32.whl (364.2 kB view details)

Uploaded CPython 2.6Windows x86

File details

Details for the file gmpy2-2.0.7.zip.

File metadata

  • Download URL: gmpy2-2.0.7.zip
  • Upload date:
  • Size: 280.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gmpy2-2.0.7.zip
Algorithm Hash digest
SHA256 7ee694b8a4c3854f27890676aa8a509a2e3f8dbdd0916fa94cbed612420b9c86
MD5 b5aada3ee5afb316ea94604f45192054
BLAKE2b-256 4aa8a7ce211bbd9fea0aa960dc37459960f57945fc95d39ef92faf43286d392b

See more details on using hashes here.

File details

Details for the file gmpy2-2.0.7-cp34-none-win_amd64.whl.

File metadata

File hashes

Hashes for gmpy2-2.0.7-cp34-none-win_amd64.whl
Algorithm Hash digest
SHA256 b02fee38f2e9408a3f132efac16ec4c1db59e28c3677200af530929202ff0702
MD5 f4b18313e394d530dc5113acc6dcb72f
BLAKE2b-256 6970a16f34b3ed1ea6992b7b937c094f7c58a90a10ef17d836446eb692a467e1

See more details on using hashes here.

File details

Details for the file gmpy2-2.0.7-cp34-none-win32.whl.

File metadata

  • Download URL: gmpy2-2.0.7-cp34-none-win32.whl
  • Upload date:
  • Size: 362.2 kB
  • Tags: CPython 3.4, Windows x86
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gmpy2-2.0.7-cp34-none-win32.whl
Algorithm Hash digest
SHA256 a158085ecf14ff78a882275b915e0fab28f3d71816ed5850422a39f3d95cbc9b
MD5 77b69eeb74ea8f4500c480d35b0ee4fc
BLAKE2b-256 ac73c0b1061c68c5f783d7917713421c9377467df55cce9083757298bb49f9c7

See more details on using hashes here.

File details

Details for the file gmpy2-2.0.7-cp33-none-win_amd64.whl.

File metadata

File hashes

Hashes for gmpy2-2.0.7-cp33-none-win_amd64.whl
Algorithm Hash digest
SHA256 8ecd945854647f4744c786f4da798fa1f80eeb8d39eb37a5a99d442174007c3a
MD5 55a5d2fd11d00bfefb9ceb7b89072077
BLAKE2b-256 fc77a423df37662f4093d6634f4d22755729c77f15192378db06098efc25fa94

See more details on using hashes here.

File details

Details for the file gmpy2-2.0.7-cp33-none-win32.whl.

File metadata

  • Download URL: gmpy2-2.0.7-cp33-none-win32.whl
  • Upload date:
  • Size: 362.5 kB
  • Tags: CPython 3.3, Windows x86
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gmpy2-2.0.7-cp33-none-win32.whl
Algorithm Hash digest
SHA256 1ed7af8debca3dc96f6ac6b8d602d5d69d2c48ac439da15bdb9b306c0787cf7d
MD5 cd84ceb5578bc156eaf3d8617634884e
BLAKE2b-256 bb3e3af5071c4df4172a1356a242144247b1518f0797c53fdf1ca3a556b542fe

See more details on using hashes here.

File details

Details for the file gmpy2-2.0.7-cp32-none-win_amd64.whl.

File metadata

File hashes

Hashes for gmpy2-2.0.7-cp32-none-win_amd64.whl
Algorithm Hash digest
SHA256 d856625d75a553e0a89a9cb6c668166c1f7de99ca040915b04cea9976b012aa3
MD5 7af8339360da462c5ac0b0456ae043a2
BLAKE2b-256 5f683a55300d1dd62a8e3317ceff5308b66e8eca83750ca815be42e00406ab6f

See more details on using hashes here.

File details

Details for the file gmpy2-2.0.7-cp32-none-win32.whl.

File metadata

  • Download URL: gmpy2-2.0.7-cp32-none-win32.whl
  • Upload date:
  • Size: 361.3 kB
  • Tags: CPython 3.2, Windows x86
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gmpy2-2.0.7-cp32-none-win32.whl
Algorithm Hash digest
SHA256 7f44abe548cdc5251be1fb28ff8f89122792e9c30d48ad29a54539b81efa4920
MD5 2bc368efcb0da3c32b402e5799fa83c8
BLAKE2b-256 1a9ebe608412841c9d041cfbdd458a56fb6bf5ee7cd976c5c62c6b054a059b18

See more details on using hashes here.

File details

Details for the file gmpy2-2.0.7-cp27-none-win_amd64.whl.

File metadata

File hashes

Hashes for gmpy2-2.0.7-cp27-none-win_amd64.whl
Algorithm Hash digest
SHA256 b22fd64b917a8c3719570ece9d6b1142190161d76e15422498ef7c63a5cb1e6f
MD5 6e8877e7b55702256dabe93806dad7ca
BLAKE2b-256 13110dc219de960ba6c6db3cdeb00719ae9138e2f6073c0e994de6d07319b30e

See more details on using hashes here.

File details

Details for the file gmpy2-2.0.7-cp27-none-win32.whl.

File metadata

  • Download URL: gmpy2-2.0.7-cp27-none-win32.whl
  • Upload date:
  • Size: 363.6 kB
  • Tags: CPython 2.7, Windows x86
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gmpy2-2.0.7-cp27-none-win32.whl
Algorithm Hash digest
SHA256 8e3308b5bab6c0caca79b2ca702812f2b4293e2b2e66b7d80fe8ed3060bff8f2
MD5 01baa9fabd30a4a6f52c6941b9d3e1b8
BLAKE2b-256 1a3631ebc5f6a88202516038e530eae64d076f8726a39f7cec07d86709f68086

See more details on using hashes here.

File details

Details for the file gmpy2-2.0.7-cp26-none-win_amd64.whl.

File metadata

File hashes

Hashes for gmpy2-2.0.7-cp26-none-win_amd64.whl
Algorithm Hash digest
SHA256 a4b672f5072291af2860015f4dd3eb464fb6fb433f74adb66f07b01235f7b1d5
MD5 a19e76aa3d47b01c84c792382424cb20
BLAKE2b-256 743b7551df61607e9664e457527008cb9358149b2c0422c4e45c9655519d71a2

See more details on using hashes here.

File details

Details for the file gmpy2-2.0.7-cp26-none-win32.whl.

File metadata

  • Download URL: gmpy2-2.0.7-cp26-none-win32.whl
  • Upload date:
  • Size: 364.2 kB
  • Tags: CPython 2.6, Windows x86
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gmpy2-2.0.7-cp26-none-win32.whl
Algorithm Hash digest
SHA256 9df4e0275b9a6aba9e433ed73f21c1ec564ef55edf119266aade91d8cc6699dd
MD5 c1ee3d25cb4f7f491c2cfab8c355f30f
BLAKE2b-256 add7baece7d25b6279f512008f671e3725241db65b308da5048e85141bb433c1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page