[Numpy-discussion] Medians that ignore values

Robert Kern robert.kern at gmail.com
Sat Sep 20 02:24:20 EDT 2008


On Sat, Sep 20, 2008 at 01:15, Charles R Harris
<charlesr.harris at gmail.com> wrote:

> I would be happy to implement nan sorts if someone can provide me with a
> portable and easy way to detect nans for single, double, and long double
> floats. And not have it fail if the architecture doesn't support nans. I
> think getting all the needed nan detection and setup in place is the first
> step for anything else.

We explicitly only support IEEE-754 architectures, so we are always on
an architecture that supports NaNs.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
 -- Umberto Eco



More information about the NumPy-Discussion mailing list