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

Home » Public Forums » archive » Re: Turning off math error checking for a code block
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: Turning off math error checking for a code block [message #28878 is a reply to message #28876] Thu, 17 January 2002 14:50 Go to previous messageGo to previous message
k-bowman is currently offline  k-bowman
Messages: 12
Registered: December 2001
Junior Member
In article <3C4732DA.E40F6BA6@noaa.gov>, Paul van Delst <paul.vandelst@noaa.gov> wrote:

> Kenneth Bowman wrote:

> Hmm. This is straying way off topic...and don't take it the wrong way or anything, but how come
> you don't prefer to simply prevent the NaNs from occurring in the first place?

I am doing repeated interpolation on a limited domain [x_min, x_max]. Each time I need to check to see if any interpolation points have moved outside the domain bounds. If so, I set them to NaN.

There are other ways to solve this, but I prefer using NaNs as "missing data" flags. If I inadvertently use an NaN elsewhere in my code, I want to generate a floating point exception.

Regards, Ken
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: load sharing on multiple machines?
Next Topic: Turning off math error checking for a code block

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

Current Time: Wed Oct 08 18:40:48 PDT 2025

Total time taken to generate the page: 0.00357 seconds