Least significant bit evaluation of arithmetic expressions in single-precision
Tóm tắt
Single-precision floatingpoint computations may yield an arbitrary false result due to cancellation and rounding errors. This is true even for very simple, structured arithmetic expressions such as Horner's scheme for polynomial evaluation. A simple procedure will be presented for fast calculation of the value of an arithmetic expression to least significant bit accuracy in single precision computation. For this purpose in addition to the floating-point arithmetic only a precise scalar product (cf. [2]) is required. If the initial floatingpoint approximation is not too bad, the computing time of the new algorithm is approximately the same as for usual floating-point computation. If not, the essential progress of the presented algorithm is that the inaccurate approximation is recognized and corrected. The algorithm achieves high accuracy, i.e. between the left and the right bound of the result there is at most one more floating-point number. A rigorous estimation of all rounding errors introduced by floating-point arithmetic is given for general triangular linear systems. The theorem is applied to the evaluation of arithmetic expressions.
Tài liệu tham khảo
Alefeld, G., Herzberger, J.: Einführung in die Intervallrechnung. Mannheim-Wien-Zürich: Bibliographisches Institut 1974.
Bohlender, G.: Floating-point computation of functions with maximum accuracy. IEEE Trans. on Computers1977.
Kulisch, U.: Grundlagen des numerischen Rechnens. (Reihe Informatik, 19.) Mannheim-Wien-Zürich: Bibliographisches Institut 1976.
Kulisch, U., Miranker, W. L.: Computer arithmetic in theory and practice. Academic Press 1982.
Rump, S. M.: Solving non-linear systems with least significant bit accuracy. Computing29, 183–200 (1982).
Stoer, J.: Einführung in die Numerische Mathematik I. (Heidelberger Taschenbücher, Bd. 105.) Berlin-Heidelberg-New York: Springer 1972.