Path to this page:
./
math/py-fpconst,
IEEE 754 floating point special handling for Python
Branch: CURRENT,
Version: 0.7.2nb1,
Package name: py27-fpconst-0.7.2nb1,
Maintainer: pkgsrc-usersThis 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.
Required to run:[
lang/python27]
Required to build:[
pkgtools/cwrappers]
Master sites:
Filesize: 2.944 KB
Version history: (Expand)
- (2022-01-22) Updated to version: py27-fpconst-0.7.2nb1
- (2012-09-12) Updated to version: py27-fpconst-0.7.2
- (2010-08-10) Updated to version: py26-fpconst-0.7.2
- (2009-03-20) Updated to version: py25-fpconst-0.7.0nb1
- (2007-03-21) Updated to version: py24-fpconst-0.7.0nb1
- (2006-02-06) Updated to version: py23-fpconst-0.7.0nb1
CVS history: (Expand)