Computing with real arithmetic.Computers and calculators generally have a fixed, limited number of slots in which to stuff the digits that make up a given number. This presents a problem when a computation involves a number that has more digits than the number of slots available. To overcome that difficulty, computer scientists in the 1950s developed the floating-point system of arithmetic, expressing each number in two parts. One set of digits gives the rounded-off number, and the other set represents, in effect, the position of the decimal point (character) decimal point - "." ASCII character 46. Common names are: point; dot; ITU-T, USA: period; ITU-T: decimal point. Rare: radix point; UK: full stop; INTERCAL: spot. . Although widely applied, the floating-point system still causes problems, especially when calculations using operations such as multiplication multiplication, fundamental operation in arithmetic and algebra. Multiplication by a whole number can be interpreted as successive addition. For example, a number N multiplied by 3 is N + N + N. or subtraction subtraction, fundamental operation of arithmetic; the inverse of addition. If a and b are real numbers (see number), then the number a−b is that number (called the difference) which when added to b (the subtractor) equals yield answers that are extremely large or extremely small, falling outside the range of numbers that the system can represent. At that point, the system fails, and the computer produces the wrong answer or no answer at all. To overcome this flaw, mathematician Peter R. Turner of the U.S. Naval Academy in Annapolis, Md., and others have been studying an alternative, logarithm-based method of representing numbers on a computer. For a given number, the idea is to find natural logarithms Natural logarithm Logarithm to the base e (approximately 2.7183). repeatedly until the result lies between 1 and 0. Thus, the original number is represented by the number of times the logarithm logarithm (lŏg`ərĭthəm) [Gr.,=relation number], number associated with a positive number, being the power to which a third number, called the base, must be raised in order to obtain the given positive number. has been determined (the level) and the final logarithm (the index). The computer then uses this particular combination of digits in its calculations. This "symmetric No difference in opposing modes. It typically refers to speed. For example, in symmetric operations, it takes the same time to compress and encrypt data as it does to decompress and decrypt it. Contrast with asymmetric. (mathematics) symmetric - 1. level-index" scheme avoids many of the problems the floating-point system encounters with numbers close to zero or approaching infinity. But it is slower, and if built into a computer, it requires more complicated circuitry than equivalent floating-point schemes. Nonetheless, says Turner, "I would maintain that useful information attained more slowsly is better than getting no answer at all quickly." Similar criticisms initially greeted the floating-point system, which was slower than whole-number arithmetic. Yet that method flourished because it allowed researchers to develop efficient ways of solving problems they couldn't tackle before. The same may yet happen for symmetric level-index arithmetic The level-index (LI) representation of numbers, and its algorithms for arithmetic operations, were introduced by Clenshaw & Olver. The symmetric form of the LI system and its arithmetic operations were presented by Clenshaw & Turner. . Although individual operations are slower, simpler programs could result. |
|
||||||||||||||||||

Printer friendly
Cite/link
Email
Feedback
Reader Opinion