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 #28879 is a reply to message #28878] 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 <888zawn5bq.fsf@catspaw.jpl.nasa.gov>, Vapuser <vapuser@catspaw.jpl.nasa.gov> wrote:

> The help says that for !except=1 (the default) it only reports the
> exception upon arriving at back at an interactive prompt. On my SGI, it
> still does the `where' and returns the correct answer, it just
> complains.

The problem is that changing !EXCEPT does not reset the accumulated error status, so the errors that occur with !EXCEPT = 0 are still present. Hence the need to call CHECK_MATH (twice).

I want to be able to run my whole code with !EXCEPT = 2 (or 1) but not generate errors for the blocks that I *know* will have floating point exceptions in them.

I think my solution is probably the simplest way to do what I want to do.

Thanks everybody, 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: Sat Oct 11 00:18:10 PDT 2025

Total time taken to generate the page: 0.96076 seconds