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

Home » Public Forums » archive » Re: Setting values to NaN
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: Setting values to NaN [message #39927 is a reply to message #39926] Fri, 25 June 2004 09:14 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
matt_westmore@yahoo.co.uk (Matt) writes:
> OK I spotted it. F_NAN and D_NAN apply to floats.
>
> So is there an alternative I can use with integers?

There is no automatic alternative. The "manual" alternative is to
declare a certain integer as the "bad data" integer -- any integer you
like that won't interfere with your calculations (-9999 or whatever).
And then you test for that integer at every step, and accomodate for
the bad data.

Craig

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@REMOVEcow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: inverse function of binary.pro
Next Topic: Local solar time

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

Current Time: Fri Oct 10 17:13:30 PDT 2025

Total time taken to generate the page: 0.64441 seconds