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

Home » Public Forums » archive » Floating divide by 0
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Floating divide by 0 [message #45453] Fri, 16 September 2005 11:51
Antonio Santiago is currently offline  Antonio Santiago
Messages: 201
Registered: February 2004
Senior Member
Hi group, I have an strange problem with a simple code.

I have created a IDLgrPallete object, and IDLgrImage from a [500,500]
byte data values that are the indexes of the palette and when draw it
into am IDLgrWindow I get a wonderful:

% Program caused arithmetic error: Floating divide by 0
% Program caused arithmetic error: Floating overflow
% Program caused arithmetic error: Floating illegal operand

Values of my data are between 0 and 39, and my palette is a created from
[256,3] array.

Any ideas?

Thanks in advice.

--
-----------------------------------------------------
Antonio Santiago P�rez
( email: santiago<<at>>grahi.upc.edu )
( www: http://www.grahi.upc.edu/santiago )
( www: http://asantiago.blogsite.org )
-----------------------------------------------------
GRAHI - Grup de Recerca Aplicada en Hidrometeorologia
Universitat Polit�cnica de Catalunya
-----------------------------------------------------
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Backing Store Question
Next Topic: Re: Floating divide by 0

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

Current Time: Wed Oct 08 15:15:42 PDT 2025

Total time taken to generate the page: 0.06195 seconds