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

Home » Public Forums » archive » divide by zero problems
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: divide by zero problems [message #15398 is a reply to message #15362] Fri, 14 May 1999 00:00 Go to previous messageGo to previous message
mallors is currently offline  mallors
Messages: 76
Registered: November 1997
Member
In article <7hfhke$gn7$1@clam.niwa.cri.nz>,
"Mark Hadfield" <m.hadfield@niwa.cri.nz> writes:
>> .... Apparently the IDL on some platforms
>> is not IEEE compliant. On those platforms (!values.f_NaN eq
> !values.f_NaN)
>> can be true. I would consider this to be a major bug and would not use
>> IDL on such a platform.
>
> IDL 5.2 on Windows NT gives:
>
> IDL> print, !values.f_NaN eq !values.f_NaN
> 1
> % Program caused arithmetic error: Floating illegal operand
>
> ...Sigh, I guess I'll have to switch to Matlab!
>


Naw, just switch to Linux :-)

IDL> PRINT, !VALUES.F_NAN EQ !VALUES.F_NAN
0



--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~
Robert S. Mallozzi 256-544-0887
Mail Code ES 84
Work: http://gammaray.msfc.nasa.gov/ Marshall Space Flight Center
Play: http://cspar.uah.edu/~mallozzir/ Huntsville, AL 35812
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Variable stride in array indices
Next Topic: graphic formats

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

Current Time: Sat Oct 11 13:05:23 PDT 2025

Total time taken to generate the page: 0.16030 seconds