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 #28968 is a reply to message #28879] Fri, 18 January 2002 09:45 Go to previous messageGo to previous message
Vapuser is currently offline  Vapuser
Messages: 63
Registered: November 1998
Member
k-bowman@null.com (Kenneth Bowman) writes:

> 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).
>

Oh, absolutely. I was only addressing the issue of the annoying
error message itself. !except=0 doesn't turn off the exception, just
the message. It's somewhat misnamed, I would have called it
'math_error_verbosity' or some such.




> 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.
>

I agree completely.

> Thanks everybody, Ken

whd

--
William Daffer: 818-354-0161: William.Daffer@jpl.nasa.gov
[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:39:54 PDT 2025

Total time taken to generate the page: 0.00446 seconds