Skip to main content

Static Analysis of the Numerical Stability of Loops

  • Conference paper
  • First Online:
Static Analysis (SAS 2002)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2477))

Included in the following conference series:

Abstract

We introduce a relational static analysis to determine the stability of the numerical errors arising inside a loop in which floating-point computations are carried out. This analysis is based on a stability test for non-linear functions and on a precise semantics for floating-point numbers that computes the propagation of the errors made at each operation. A major advantage of this approach is that higher-order error terms are not neglected. We introduce two algorithms for the analysis. The first one, less complex, only determines the global stability of the loop. The second algorithm determines which particular operation makes a loop unstable. Both algorithms have been implemented and we present some experimental results.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.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

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. K. T. Alligood, T. D. Sauer, and J. A. Yorke. Chaos, an Introduction to Dynamical Systems. Springer-Verlag, 1996.

    Google Scholar 

  2. ANSI/IEEE. IEEE Standard for Binary Floating-point Arithmetic, std 754-1985 edition, 1985.

    Google Scholar 

  3. M. F. Barnsley. Fractals Everywhere, Second Edition. Academic Press, 1993.

    Google Scholar 

  4. A. F. Beardon. Iteration of Rational Functions. Number 132 in Graduate Texts in Mathematics. Springer-Verlag, 1991.

    Google Scholar 

  5. F. Chatelin. Valeurs propres des matrices. Masson, 1988.

    Google Scholar 

  6. P. Cousot and R. Cousot. Abstract interpretation frameworks. Journal of Logic and Symbolic Computation, 2(4):511–547, 1992.

    MATH  MathSciNet  Google Scholar 

  7. D. Goldberg. What every computer scientist should know about floating-point arithmetic. ACM Computing Surveys, 23(1), 1991.

    Google Scholar 

  8. G. H. Golub and C. F. Van Loan. Matrix Computations. The Johns Hopkins University Press, 2d edition, 1990.

    Google Scholar 

  9. E. Goubault. Static analyses of the precision of floating-point operations. In Static Analysis Symposium, SAS’01, number 2126 in Lecture Notes in Computer Science. Springer-Verlag, 2001.

    Google Scholar 

  10. E. Goubault, M. Martel, and S. Putot. Asserting the precision of floating-point computations: a simple abstract interpreter. In European Symposium on Programming, ESOP’02, number 2305 in Lecture Notes in Computer Science. Springer-Verlag, 2002.

    Google Scholar 

  11. D. Knuth. The Art of Computer Programming-Seminumerical Algorithms. Addison Wesley, 1973.

    Google Scholar 

  12. P. Langlois and F. Nativel. Improving automatic reduction of round-off errors. In IMACS World Congress on Scientific Computation, Modelling and Applied Mathematics, volume 2, 1997.

    Google Scholar 

  13. M. Martel. Propagation of roundoff errors in finite precision computations: a semantics approach. In European Symposium on Programming, ESOP’02, number 2305 in Lecture Notes in Computer Science. Springer-Verlag, 2002.

    Google Scholar 

  14. F. C. Moon. Chaotic and Fractal Dynamics. Wiley-Interscience, 1992.

    Google Scholar 

  15. W. H. Press, S. A. Teukolsky, W. T. Vetterling, and B. P. Flannery. Numerical Recipes in C Cambridge University Press, 1992.

    Google Scholar 

  16. J. Vignes. A survey of the CESTAC method. In Proceedings of Real Numbers and Computer Conference, 1996.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2002 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Martel, M. (2002). Static Analysis of the Numerical Stability of Loops. In: Hermenegildo, M.V., Puebla, G. (eds) Static Analysis. SAS 2002. Lecture Notes in Computer Science, vol 2477. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45789-5_12

Download citation

  • DOI: https://doi.org/10.1007/3-540-45789-5_12

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-44235-6

  • Online ISBN: 978-3-540-45789-3

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics