Generic floating point handling in Python
Project description
gfloat: Generic floating-point types in Python
An implementation of generic floating point encode/decode logic, handling various current and proposed floating point types:
- IEEE 754: Binary16, Binary32
- OCP Float8: E5M2, E4M3
- IEEE WG P3109: P{p} for p in 1..7
See https://gfloat.readthedocs.io for documentation.
BUILDING
pip install -e .
cd docs
make html
cd ..
Notes
All NaNs are the same, with no distinction between signalling or quiet, or between differently encoded NaNs.
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
gfloat-0.0.1.tar.gz
(13.3 kB
view hashes)
Built Distributions
gfloat-0.0.1-py3-none-any.whl
(7.1 kB
view hashes)
Close
Hashes for gfloat-0.0.1-0001-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7fac90d0e612b0ebb3019f8472eee59a5855ef8f825fecbe106f8807054b5c78 |
|
MD5 | d9b3f605d6171a65b48dadc147ef3362 |
|
BLAKE2b-256 | 6464cc0c67144707a949a90ba08012fdead9f7d06dba22935da67742f26a4ec5 |