Copyright © Philip M. Parker, INSEAD. Terms of Use.

INFINITE LOOP

Specialty Definition: INFINITE LOOP

DomainDefinition

Computing

Infinite loop n. One that never terminates (that is, the machine spins or buzzes forever and goes catatonic). There is a standard joke that has been made about each generation's exemplar of the ultra-fast machine: "The Cray-3 is so fast it can execute an infinite loop in under 2 seconds!". Source: Jargon File.

Source: compiled by the editor from various references; see credits.

Top     

Specialty Definition: Infinite loop

(From Wikipedia, the free Encyclopedia)

An infinite loop is a sequence of instructions in a computer program which loops endlessly. There are a few situations when this is desired behavior. For example, many server programs such as Internet or database servers loop forever waiting for and servicing requests. More often, though, the term is used for those situations when this is not the intended result; that is, when this is a bug. Such errors are made by experienced programmers as well as novices, and their causes can be quite subtle.

One common cause, for example, is that the programmer intends to iterate over a collection of items such as a linked list, executing the loop code once for each item, but improperly formed links which create a reference loop in the list, causing the code to continue forever.

Unexpected behavior of a terminating condition can also cause this problem. Here's an example (in C):

 float x = 0.1;
 while (x != 1.1) {
   x = x + 0.1;
   printf("x = %f\
", x); }

On some systems, this loop will run ten times as expected; but on some systems it will never terminate. The problem is that the loop terminating condition (x != 1.1) tests for exact equality of two floating point values, and the way floating point values are represented in many comptures will make this test fail, because 1.1 cannot be represented exactly. Changing the test to something like while (x < 1.10001) will fix the problem (as will not using floating point values for loop indexes).

A similar problem occurs frequently in numerical analysis: in order to compute a certain result, an iteration is intended to be carried out until the error is smaller than a chosen tolerance. However, because of rounding errors during the iteration, the tolerance can never be reached, resulting in an infinite loop.

While most infinite loops can be found by close inspection of the code, there is no general method to determine whether a given program will ever halt or will run forever; this is the undecidability of the Halting problem.

When Apple Computer built its new headquarters in Cupertino, California, it needed to add a circular road running around all the buildings; so the company named it Infinite Loop Drive, giving Apple its official mailing address - "1 Infinite Loop".

Source: adapted by the editor from Wikipedia, the free encyclopedia under a copyleft GNU Free Documentation License (GFDL) from the article "Infinite loop."

Top     

Crosswords: INFINITE LOOP

Specialty definitions using "INFINITE LOOP": Alderson loopendless loopHelen Keller modeinfinite repetitionwound around the axle. (references)

Top     

Frequency of Internet Keywords: INFINITE LOOP

The following statistics estimate the number of searches per day across the major English-language search engines as identified by various trade publications. Hyperlinks lead to commercial use of the expression at Amazon.com.
 
ExpressionFrequency
per Day

infinite loop

10

error infinite loop

5

fractal infinite loop

4
Source: compiled by the editor from various references; see credits.

Top     

Modern Translation: INFINITE LOOP

Language Translations for "INFINITE LOOP"; alternative meanings/domain in parentheses.

Japanese Kanji 

  

無限ループ . (various references)

   

Japanese Katakana 

  

む'"ループ. (various references)

   

Pig Latin

  

infiniteay ooplay

Source: compiled by the editor from various translation references.

Top     

Anagrams: INFINITE LOOP

Scrabble® Enable2K-Verified Anagrams

Words within the letters "e-f-i-i-i-l-n-n-o-o-p-t"

-4 letters: infinite, lenition.

-5 letters: nitinol, nonlife, opinion, pinitol, pontine, potline, tinfoil, topline.

Source: compiled by the editor from various references; see credits.

SCRABBLE® is a registered trademark. All intellectual property rights in and to the game are owned in the U.S.A and Canada by Hasbro Inc., and throughout the rest of the world by J.W. Spear & Sons Limited of Maidenhead, Berkshire, England, a subsidiary of Mattel Inc. Mattel and Spear are not affiliated with Hasbro.

Top     



INDEX

1. Crosswords
2. Expressions: Internet
3. Translations: Modern
4. Anagrams
5. Bibliography


  

Copyright © Philip M. Parker, INSEAD. Terms of Use.