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

Home » Public Forums » archive » CHECK_MATH and exp()
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: CHECK_MATH and exp() [message #31926 is a reply to message #31890] Fri, 30 August 2002 12:36 Go to previous messageGo to previous message
jeyadev is currently offline  jeyadev
Messages: 78
Registered: February 1995
Member
In article <3D6CDC8E.DB526253@saicmodis.com>,
James Kuyper <kuyper@saicmodis.com> wrote:

Thanks for your reply ......

> Surendar Jeyadev wrote:
>>
>> Could someone please explain this:
> ...
>> WAVE> y = exp(-9.4^2)
>> % Program caused arithmetic error: Floating underflow
>> % Program caused arithmetic error: Floating illegal operand
>
> I only get the first message, not the second.

The begining of the differences .....!

> Since the exp() call occurred before the last interactive prompt, it
> doesn't count. Instead, try the following:
>
> IDL> y = exp(-9.4^2) & print,check_math(-1)
> % Program caused arithmetic error: Floating underflow
> 32

And I get

WAVE> y = exp(-9.4^2) & print,check_math(-1)
% Program caused arithmetic error: Floating underflow
% Program caused arithmetic error: Floating illegal operand
160

>> I am running PV-WAVE CL Version 6.01 (sun4 solaris sparc)
>> on a Sun Ultra 10 under Solaris 8.

Obviously, it is something to do with ....

> I am running idl 5.4 on an SGI machine running IRIX,

.... PV-Wave. Not sure if it is to do with the Sun version,
though.

thanks, anyway,


--

Surendar Jeyadev jeyadev@wrc.xerox.bounceback.com

Remove 'bounceback' for email address
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: overlay a 3D polygon on a 2D grayscale image?
Next Topic: Re: SVDFIT Problems

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

Current Time: Sat Oct 11 02:17:21 PDT 2025

Total time taken to generate the page: 0.71994 seconds