[Numpy-discussion] comparing arrays with NaN in them.
Fri Aug 24 11:15:09 CDT 2007
On 8/24/07, Christopher Barker <Chris.Barker@noaa.gov> wrote:
> You can have several different NaN,
> You can? I thought NaN was defined by IEEE 754 as a particular bit
> pattern (one for each precision, anyway).
There's more than one way to spell NaN in binary and they tend to mean
different things IIRC. Signalling NaNs and quiet NaNs and all of that. (Can
you tell how superficial my knowledge is here, good).
However, if you are inserting the NaNs yourself as placeholders, then they
should all be the same kind and a binary comparison should be fine.
> Christopher Barker, Ph.D.
> Emergency Response Division
> NOAA/NOS/OR&R (206) 526-6959 voice
> 7600 Sand Point Way NE (206) 526-6329 fax
> Seattle, WA 98115 (206) 526-6317 main reception
> Numpy-discussion mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Numpy-discussion