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

| Domain | Definition |
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. | |
(From Wikipedia, the free Encyclopedia)
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."
Crosswords: INFINITE LOOP |
| Specialty definitions using "INFINITE LOOP": Alderson loop ♦ endless loop ♦ Helen Keller mode ♦ infinite repetition ♦ wound around the axle. (references) |
| 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. |
| Expression | Frequency per Day |
infinite loop | 10 |
error infinite loop | 5 |
fractal infinite loop | 4 |
| Source: compiled by the editor from various references; see credits. | |
| Language | Translations for "INFINITE LOOP"; alternative meanings/domain in parentheses. | ||||
Japanese Kanji | 無限ループ . (various references) | ||||
Japanese Katakana | む'"ループ. (various references) | ||||
Pig Latin | infiniteay ooplay | ||||
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. | |
| 1. Crosswords 2. Expressions: Internet 3. Translations: Modern 4. Anagrams | 5. Bibliography |
Copyright © Philip M. Parker, INSEAD. Terms of Use.