Path to this page:
./
math/py-fpconst,
IEEE 754 floating point special handling for Python
Branch: pkgsrc-2009Q1,
Version: 0.7.0nb1,
Package name: py25-fpconst-0.7.0nb1,
Maintainer: rechtThis 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/python25]
SHA1: 7797ea0b3f9bb0e09896d756cbe16922c2682de1
RMD160: ca8292df6c63123879d2a1a39fbdd10cbc68a233
Filesize: 3.203 KB
Version history: (Expand)
- (2009-04-06) Package added to pkgsrc.se, version py25-fpconst-0.7.0nb1 (created)