Improved error bounds for floating-point products and Horner’s scheme
Tóm tắt
Let
$$\mathbf{u}$$
denote the relative rounding error of some floating-point format. Recently it has been shown that for a number of standard Wilkinson-type bounds the typical factors
$$\gamma _k:=k\mathbf{u}/(1-k\mathbf{u})$$
can be improved into
$$k\mathbf{u}$$
, and that the bounds are valid without restriction on
$$k$$
. Problems include summation, dot products and thus matrix multiplication, residual bounds for
$$LU$$
- and Cholesky-decomposition, and triangular system solving by substitution. In this note we show a similar result for the product
$$\prod _{i=0}^k{x_i}$$
of real and/or floating-point numbers
$$x_i$$
, for computation in any order, and for any base
$$\beta \geqslant 2$$
. The derived error bounds are valid under a mandatory restriction of
$$k$$
. Moreover, we prove a similar bound for Horner’s polynomial evaluation scheme.
Tài liệu tham khảo
Graillat, S., Lefèvre, V., Muller, J.-M.: On the maximum relative error when computing integer powers by iterated multiplications in floating-point arithmetic. Numer. Algorithms (2015, to appear). doi:10.1007/s11075-015-9967-8
Higham, N.J.: Accuracy and Stability of Numerical Algorithms, 2nd edn. SIAM Publications, Philadelphia (2002)
ANSI/IEEE 754-2008: IEEE Standard for Floating-Point Arithmetic. IEEE, New York (2008)
Jeannerod, C.-P., Rump, S.M.: Improved error bounds for inner products in floating-point arithmetic. SIAM. J. Matrix Anal. Appl. (SIMAX) 34(2), 338–344 (2013)
Jeannerod, C.-P., Rump, S.M.: On relative errors of floating-point operations: optimal bounds and applications, January 2014 (preprint)
Knuth, D.E.: The Art of Computer Programming. Seminumerical Algorithms, vol. 2, 3rd edn. Addison-Wesley, Reading (1998)
MATLAB: User’s Guide, Version 2013b, the MathWorks Inc. (2013)
Muller, J.-M.: On the maximum relative error when computing iterated integer powers in floating-point arithmetic. In: INVA Conference, Tokyo (2014)
Rump, S.M., Jeannerod, C.-P.: Improved error bounds for LU and Cholesky factorizations. SIAM. J. Matrix Anal. Appl. (SIMAX) 35(2), 699–724 (2014)
Rump, S.M., Ogita, T., Oishi, S.: Accurate floating-point summation, part I: faithful rounding. SIAM J. Sci. Comput. 31(1), 189–224 (2008)