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 (


- 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'

For current documentation, see:

Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
bigfloat-0.1.1.tar.gz (32.3 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page