Path to this page:
./
math/py-fpconst,
IEEE 754 floating point special handling for Python
Branch: pkgsrc-2014Q2,
Version: 0.7.2,
Package name: py27-fpconst-0.7.2,
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]
Master sites:
SHA1: d95e9e068d12e9d963f1df636a0e995ea59736c2
RMD160: 28659ca7c7c84dca9061ea1d3ad7785ef1fb2cbf
Filesize: 2.944 KB
Version history: (Expand)
- (2014-07-02) Package added to pkgsrc.se, version py27-fpconst-0.7.2 (created)