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 #15409 is a reply to message #15362] Fri, 14 May 1999 00:00 Go to previous messageGo to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
> .... 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!

---
Mark Hadfield m.hadfield@niwa.cri.nz
National Institute for Water and Atmospheric Research
PO Box 14-901, Wellington, New Zealand
[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: Fri Oct 10 14:06:25 PDT 2025

Total time taken to generate the page: 0.08139 seconds