On relative errors of floating-point operations: Optimal bounds and applications

Rounding error analyses of numerical algorithms are most often carried out via repeated applications of the so-called standard models of floating-point arithmetic. Given a round-to-nearest function fl and barring underflow and overflow, such models bound the relative errors E 1 (t) = |t − fl(t)|/|t| and E 2 (t) = |t − fl(t)|/|fl(t)| by the unit roundoff u. This paper investigates the possibility of refining these bounds, both in the case of an arbitrary real t and in the case where t is the exact result of an arithmetic operation on some floating-point numbers. We provide explicit and attainable bounds on E 1 (t), which are all less than or equal to u/(1 + u) and, therefore, smaller than u. For E 2 (t) the bound u is attainable whenever t = x ± y or t = xy or, in base β > 2, t = x/y with x, y two floating-point numbers. However, for division in base 2 as well as for square root, smaller bounds are derived, which are also shown to be attainable. This set of sharp bounds is then applied to the rounding error analysis of various numerical algorithms: in all cases, we obtain either much shorter proofs of the best-known error bounds for such algorithms, or improvements on these bounds themselves.

[1]  David Thomas,et al.  The Art in Computer Programming , 2001 .

[2]  Siegfried M. Rump,et al.  Accurate Sum and Dot Product , 2005, SIAM J. Sci. Comput..

[3]  Siegfried M. Rump,et al.  Accurate Floating-Point Summation Part I: Faithful Rounding , 2008, SIAM J. Sci. Comput..

[4]  Mei Han An,et al.  accuracy and stability of numerical algorithms , 1991 .

[5]  Ping Tak Peter Tang,et al.  Implementing complex elementary functions using exception handling , 1994, TOMS.

[6]  Pat H. Sterbenz,et al.  Floating-point computation , 1973 .

[7]  John Erick Holm,et al.  Floating-Point Arithmetic and Program Correctness Proofs , 1980 .

[8]  Jean-Michel Muller,et al.  Error bounds on complex floating-point multiplication with an FMA , 2017, Math. Comput..

[9]  R. Jackson Inequalities , 2007, Algebra for Parents.

[10]  Jean-Michel Muller,et al.  Midpoints and Exact Points of Some Algebraic Functions in Floating-Point Arithmetic , 2011, IEEE Transactions on Computers.

[11]  Claude-Pierre Jeannerod,et al.  Improved Error Bounds for Inner Products in Floating-Point Arithmetic , 2013, SIAM J. Matrix Anal. Appl..

[12]  Claude-Pierre Jeannerod,et al.  Improved Backward Error Bounds for LU and Cholesky Factorizations , 2014, SIAM J. Matrix Anal. Appl..

[13]  Richard P. Brent,et al.  Error bounds on complex floating-point multiplication , 2007, Math. Comput..

[14]  Peter W. Markstein Computation of Elementary Functions on the IBM RISC System/6000 Processors , 1990, IBM J. Res. Dev..

[15]  Ronald L. Graham,et al.  Concrete Mathematics, a Foundation for Computer Science , 1991, The Mathematical Gazette.

[16]  J. H. Wilkinson Error analysis of floating-point computation , 1960 .

[17]  T. J. Dekker,et al.  A floating-point technique for extending the available precision , 1971 .