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

Home » Public Forums » archive » Re: where() and IEEE NaN
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: where() and IEEE NaN [message #17719 is a reply to message #17717] Mon, 08 November 1999 00:00 Go to previous messageGo to previous message
badastro is currently offline  badastro
Messages: 7
Registered: August 1998
Junior Member
In comp.lang.idl-pvwave Eric J. Korpela <korpela@islay.ssl.berkeley.edu> wrote:
> In article <7vvkuf$hk4@post.gsfc.nasa.gov>,
> William Thompson <thompson@orpheus.nascom.nasa.gov> wrote:
>> Isn't it simpler (and faster) to say
>>
>> IDL> print,where(a ne a)

> It is on IEEE compliant platforms. But IDL on some platforms
> is not IEEE compliant. My solution is not to use those platforms.

I had a DEC Alpha for a few years that some, um, interesting
effects in IDL. I'm on a sparc now and have no problems.
I cannot remember the details now, but a couple of years ago we had
this NaN problem. I typed in print,where(a ne a) and it barfed. So
I did the workaround of hh = where(a-a ne 0) and it worked.


* * * * * The Bad Astronomer * * * *

Phil Plait badastro@badastronomy.com
The Bad Astronomy Web Page: http://www.badastronomy.com
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Center of mass???
Next Topic: Re: contour plots on walls of a cube

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

Current Time: Wed Oct 08 19:03:56 PDT 2025

Total time taken to generate the page: 0.00201 seconds