Skip to main content

1993 | OriginalPaper | Buchkapitel

Evaluation of Arithmetic Expressions

verfasst von : Prof.Dr. Ulrich Kulisch, Dr. Rolf Hammer, Dr. Dietmar Ratz, Dipl-Math. oec. Matthias Hocks

Erschienen in: Numerical Toolbox for Verified Computing I

Verlag: Springer Berlin Heidelberg

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

The evaluation of arithmetic expressions using floating-point arithmetic may lead to unpredictable results due to an accumulation of roundoff errors. As an example, the evaluation of x + 1 — x for x > 1020 using the standard floating-point format on almost every digital computer yields the wrong result 0. Since the evaluation of arithmetic expressions is a basic task in digital computing, we should have a method to evaluate a given expression to an arbitrary accuracy. We will develop such a method for real expressions composed of the operations +, —, •, /, and ↑,where ↑ denotes exponentiation by an integer. The method is based on the principle of iterative refinement as discussed in Section 3.8.

Metadaten
Titel
Evaluation of Arithmetic Expressions
verfasst von
Prof.Dr. Ulrich Kulisch
Dr. Rolf Hammer
Dr. Dietmar Ratz
Dipl-Math. oec. Matthias Hocks
Copyright-Jahr
1993
Verlag
Springer Berlin Heidelberg
DOI
https://doi.org/10.1007/978-3-642-78423-1_8