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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
K. T. Alligood, T. D. Sauer, and J. A. Yorke. Chaos, an Introduction to Dynamical Systems. Springer-Verlag, 1996.
ANSI/IEEE. IEEE Standard for Binary Floating-point Arithmetic, std 754-1985 edition, 1985.
M. F. Barnsley. Fractals Everywhere, Second Edition. Academic Press, 1993.
A. F. Beardon. Iteration of Rational Functions. Number 132 in Graduate Texts in Mathematics. Springer-Verlag, 1991.
F. Chatelin. Valeurs propres des matrices. Masson, 1988.
P. Cousot and R. Cousot. Abstract interpretation frameworks. Journal of Logic and Symbolic Computation, 2(4):511–547, 1992.
D. Goldberg. What every computer scientist should know about floating-point arithmetic. ACM Computing Surveys, 23(1), 1991.
G. H. Golub and C. F. Van Loan. Matrix Computations. The Johns Hopkins University Press, 2d edition, 1990.
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.
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.
D. Knuth. The Art of Computer Programming-Seminumerical Algorithms. Addison Wesley, 1973.
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.
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.
F. C. Moon. Chaotic and Fractal Dynamics. Wiley-Interscience, 1992.
W. H. Press, S. A. Teukolsky, W. T. Vetterling, and B. P. Flannery. Numerical Recipes in C Cambridge University Press, 1992.
J. Vignes. A survey of the CESTAC method. In Proceedings of Real Numbers and Computer Conference, 1996.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights 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