[Numpy-tickets] [NumPy] #907: Simplifying isnan and co replacement
NumPy
numpy-tickets@scipy....
Sat Sep 6 22:32:03 CDT 2008
#907: Simplifying isnan and co replacement
-------------------------+--------------------------------------------------
Reporter: cdavid | Owner: somebody
Type: enhancement | Status: new
Priority: normal | Milestone: 1.3.0
Component: Other | Version: none
Severity: normal | Keywords:
-------------------------+--------------------------------------------------
Here is a patch to simplify isnan, isinf, isfinite and signbit for
platforms which do not have it.
The patch does two things:
- it detects whether the above are available as macro (as mandated by
C99)
- if not, define macro replacement, avoiding bit twiddling as much as
possible (only signbit is kept).
--
Ticket URL: <http://scipy.org/scipy/numpy/ticket/907>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.
More information about the Numpy-tickets
mailing list