Utilities for handling IEEE 754 floating point special values
http://www.analytics.washington.edu/statcomp/projects/rzope/fpconst/
python-fpconst.spec | ||
README.md |
python-fpconst
This module provides constants and functions for handling IEEE754 floating point infinite and NaN values.
This works on any python that uses IEEE754 double values for its float type (whether big- or little-endian). Although this is not required, it's unlikely any python would fail to meet this requirement (the code in both the standard and JPython interpreters assumes IEEE754 double all over the place).