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

Home » Public Forums » archive » NaN or 0.0
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
NaN or 0.0 [message #8969] Tue, 20 May 1997 00:00 Go to previous message
Christophe Morisset is currently offline  Christophe Morisset
Messages: 2
Registered: March 1997
Junior Member
Hello,
I'm "transporting" an IDL code from a DecAlpha to a PC (i.e. Unix =>
Linux)
And I meet problems with the NaN under Linux:

Under Unix:
IDL> print,exp(alog(0))
% Program caused arithmetic error: Floating overflow
% Detected at $MAIN$
% Program caused arithmetic error: Floating underflow
% Detected at $MAIN$
0.00000

Under Linux:
IDL> print,exp(alog(0))
-NaN
% Program caused arithmetic error: Floating illegal operand

In both case, the program say I'm doing something wrong,
but with the Unix version, I can continue to work...

Is it possible to say the Linux-IDL not to use this
&*%$%# NaN absorbing element?
It seems to me it as something to do with something
called IEEE, but I don't understand what it is ;-)

Tahnks a lot if you have any idea,
--

Christophe Morisset

Observatoire de Paris-Meudon
Tel: (+33) 1-45-07-75-66
Fax: (+33) 1-45-07-74-69
mailto:morisset@daec.obspm.fr
http://daec.obspm.fr/~morisset
[Message index]
 
Read Message
Read Message
Previous Topic: widget_control, /destroy (buttons)
Next Topic: IDL 5.0 Insight Comments?

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

Current Time: Fri Oct 10 00:02:01 PDT 2025

Total time taken to generate the page: 3.05602 seconds