comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: NaN problems
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: NaN problems [message #43726 is a reply to message #43583] Fri, 22 April 2005 19:43 Go to previous message
Y.T. is currently offline  Y.T.
Messages: 25
Registered: December 2004
Junior Member
> http://www.dfanning.com/math_tips/nans.html

Pretty cool page.

;)

I don't have access to IDL on a win-box, but I have a (potentially
stupid) question: On that page of yours where you write

IDL> print, array ne array
0 0 0 0 0

have you tried the converse, i.e.

IDL> print, array eq array

?

I am asking since, while it is true that a NaN is not equal to a NaN it
does not seem to follow (to my wrinkled brain) that a NaN is
necessarily UNequal to a NaN.

In your version you test for the latter, and I'm kinda curious what
would happen if you tried the former...


cordially


Y.T.

--
Remove YourClothes before you email me.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Syntax for R. Franks extproc_define() in IDL 6.1
Next Topic: Is it possible to call IDL in C or C++ language?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Apr 25 17:18:58 PDT 2026

Total time taken to generate the page: 1.52011 seconds