skip to navigation
skip to content

fpconst 0.7.2

Utilities for handling IEEE 754 floating point special values

Utilities for handling IEEE 754 floating point special values

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 (PosInf), and Negative Infinity
(NegInf), 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.

See <http:"" courses="" cs341="" ieee-754references.html="">
for reference material on the IEEE 754 floating point standard.

Further information on this package is available at
<http:"" statcomp="" projects="" rzope="" fpconst=""/>.

Author: Gregory R. Warnes <>
Date: 2005-02-24
Version: 0.7.2
Copyright: (c) 2003-2005 Pfizer, Licensed to PSF under a Contributor Agreement
License: Licensed under the Apache License, Version 2.0 (the"License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

Unless required by applicable law or agreed to in
writing, software distributed under the License is
CONDITIONS OF ANY KIND, either express or implied. See
the License for the specific language governing
permissions and limitations under the License.
File Type Py Version Uploaded on Size
fpconst-0.7.2.tar.gz (md5) Source 2006-08-29 2KB