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.2.tar.gz
(13.3 kB
view hashes)
Built Distribution
gfloat-0.0.2-py3-none-any.whl
(7.1 kB
view hashes)