summaryrefslogtreecommitdiff
path: root/math/py-fpconst/DESCR
blob: 67ec1056257a130888fdfa915766272eb2481727 (plain)
1
2
3
4
5
6
7
8
9
This python module implements constants and functions for working with IEEE754
double-precision special values. It provides constants for Not-a-Number (NaN),
Positive Infinity (Inf), and Negative Infinity (-Inf), as well as functions to
test for these values.

The code is implemented in pure python by taking advantage of the 'struct'
standard module. Care has been taken to generate proper results on both
big-endian and little-endian machines. Some efficiency could be gained by
translating the core routines into C.