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

Home » Public Forums » archive » Re: Floating point error
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: Floating point error [message #34734 is a reply to message #34725] Mon, 14 April 2003 07:40 Go to previous messageGo to previous message
K. Bowman is currently offline  K. Bowman
Messages: 330
Registered: May 2000
Senior Member
After a great deal of further mucking around, this appears to be a
version-dependent bogus error message. It only happens on the Linux
version 5.6.

Ken


IDL> help, data
DATA FLOAT = Array[176779]
IDL> k = WHERE(FINITE(data), count)
% Program caused arithmetic error: Floating illegal operand
IDL> print, count
175800
IDL> print, !version
{ x86 linux unix linux 5.6 Oct 26 2002 32 64}



IDL> help, data$<3>
DATA FLOAT = Array[176779]
IDL> k = where(finite(data), count)
IDL> print, count
175800
IDL> print, !version
{ mipseb IRIX unix IRIX 5.5 Aug 28 2001 32 64}



IDL> help, data
DATA FLOAT = Array[176779]
IDL> kk = where(finite(data), count)
IDL> print, count
175800
IDL> print, !version
{ ppc darwin unix Mac OS X 5.6 Oct 26 2002 32 32}


Ken Bowman
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Using NO_COPY with pointers
Next Topic: RST transform in ENVI 3.2

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

Current Time: Fri Oct 10 15:01:58 PDT 2025

Total time taken to generate the page: 1.04113 seconds