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

Home » Public Forums » archive » Re: Problem with variable declaration
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: Problem with variable declaration [message #70523 is a reply to message #70522] Wed, 21 April 2010 10:33 Go to previous messageGo to previous message
Bruce Bowler is currently offline  Bruce Bowler
Messages: 128
Registered: September 1998
Senior Member
On Wed, 21 Apr 2010 10:24:29 -0700, bala murugan wrote:

> Hi guys,
>
> IDL> print,((10^5)/(exp(10)*factorial(5)))
>
> The actual result of the above line is 0.0378332748
>
> But when we run it in IDL we get the result as -0.011755556
>
> What should be done to rectify this?
>
> Thanks,
> B

For what it's worth, when I run this on windows using 7.1.1, I get the
expected answer...

Are you sure you haven't redefined exp or factorial?

B
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Arc of a circle
Next Topic: Problem with variable declaration

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

Current Time: Wed Oct 08 19:24:33 PDT 2025

Total time taken to generate the page: 0.00463 seconds