Skip to main content

Evaluation of Arithmetic Expressions

  • Chapter
  • 236 Accesses

Part of the book series: Springer Series in Computational Mathematics ((SSCM,volume 21))

Abstract

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.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 1993 Springer-Verlag Berlin Heidelberg

About this chapter

Cite this chapter

Kulisch, U., Hammer, R., Ratz, D., Hocks, M. (1993). Evaluation of Arithmetic Expressions. In: Numerical Toolbox for Verified Computing I. Springer Series in Computational Mathematics, vol 21. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-78423-1_8

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-78423-1_8

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-78425-5

  • Online ISBN: 978-3-642-78423-1

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics