Skip to main content

Arbitrary precision correctly-rounded floating point arithmetic, via MPFR.

Project description

The bigfloat package is a Python package providing arbitrary-precision correctly-rounded floating-point arithmetic. It is implemented as a wrapper around the MPFR library (http://www.mpfr.org).

Features:

  • correct rounding on all operations; precisely defined semantics compatible with the IEEE 754-2008 standard.

  • the BigFloat type interacts well with Python integers and floats.

  • full support for emulating IEEE 754 arithmetic in any of the IEEE binary interchange formats described in IEEE 754-2008. Infinities, NaNs, signed zeros, and subnormals are all supported.

  • easy control of rounding modes and precisions, via Python’s ‘with’ statement.

For current documentation, see:

http://packages.python.org/bigfloat/

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

bigfloat-0.1.2.tar.gz (102.4 kB view details)

Uploaded Source

File details

Details for the file bigfloat-0.1.2.tar.gz.

File metadata

  • Download URL: bigfloat-0.1.2.tar.gz
  • Upload date:
  • Size: 102.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for bigfloat-0.1.2.tar.gz
Algorithm Hash digest
SHA256 024f14be500cea9babeef8033ebeec818fbe64cb5fb66805bbdddf62c1ec56e8
MD5 eff005ad0fbbb46a5a9549df9889b1f6
BLAKE2b-256 9596453ccfbda307df0ddfef6e4a59c31f3d0f4692fff7e54c357207ba3a1a92

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