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

Home » Public Forums » archive » Re: endless loop problem
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: endless loop problem [message #68962 is a reply to message #68959] Sun, 06 December 2009 15:52 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
pp writes:
.
> L does not change because you are calculating the same thing over and
> over again. L only depends on EC[0] and EC[1], and neither changes
> when you go through the loop. So if L does not happen to be
> <1.2840277, the loop will never end.

And it is not likely that it will *ever* be 1.2840277!

http://www.dfanning.com//math_tips/sky_is_falling.html

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Why doesn't IDL know the borders of Kazakhstan?
Next Topic: ASSOC vs SHMMAP vs POINT_LUNs vs READ_BINARY?

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

Current Time: Wed Oct 15 09:46:12 PDT 2025

Total time taken to generate the page: 1.59944 seconds