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

Home » Public Forums » archive » Re: more bugs in envi !!!
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
Re: more bugs in envi !!! [message #35719] Sun, 13 July 2003 00:09
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Dear Gaurav

I don't know envi, but what you describe looks like a type overflow.
What happens if b1 is of type double

regards

Reimar


Gaurav wrote:

> Hi folks!
> Sorry to trouble u again....but envi seems to be just going above my
> head...there is another problem that i am facing:
> Please go through the 2 functions:
>
> 1.function example,b1
> help,b1
> end
> 2.function example,b1,b2
> help,b1
> end
>
> Now could anyone tell me why these 2 codes are producing different
> final answers??? I just cant find any reason for it.
>
> One more problem :
>
> 'b1' is a positive array and 'avgb1' is a positive number but when i
> use the formula : result=b1*100/avgb1
> print, result
> , the answer that i get is a negative array.
>
> Whereas if i use the formula : result=b1/avgb1
> print, result * 100
> , then i get a positive array
>
>
> I hope to hear the answers to these questions soon. Thnxx
> Byee
> Gaurav

--
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
http://www.fz-juelich.de/icg/icg-i/
============================================================ ======
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro. html
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: IDLgrText
Next Topic: Re: idl writeu and fortran...

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

Current Time: Sat Oct 11 04:37:24 PDT 2025

Total time taken to generate the page: 1.91919 seconds