/gfloat

Generic floating-point types in Python

Primary LanguagePythonMIT LicenseMIT

gfloat: Generic floating-point types in Python

An implementation of generic floating point encode/decode logic, handling various current and proposed floating point types:

See https://gfloat.readthedocs.io for documentation.

BUILDING

pip install -e .
cd docs 
make html
cd ..

Pushing

rm -rf dist
pip install build twine
python -m build
echo __token__ | twine upload --repository pypi dist/* --verbose

Notes

All NaNs are the same, with no distinction between signalling or quiet, or between differently encoded NaNs.