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/
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
Release history Release notifications | RSS feed
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.1.tar.gz
(32.3 kB
view details)
File details
Details for the file bigfloat-0.1.1.tar.gz.
File metadata
- Download URL: bigfloat-0.1.1.tar.gz
- Upload date:
- Size: 32.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
832bc46e568686682c1276686cc44faee07c174d68a4d55a53032e98c52a9829
|
|
| MD5 |
fe666415f36d888a8fc4a0b2b80790aa
|
|
| BLAKE2b-256 |
5c6f50ff4c05a671bac92f6630b1f87802d30ef8ac9f4eab7f3511fd54b1a5eb
|