Skip to main content
Log in

On the maximum relative error when computing integer powers by iterated multiplications in floating-point arithmetic

  • Original Paper
  • Published:
Numerical Algorithms Aims and scope Submit manuscript

Abstract

We improve the usual relative error bound for the computation of x n through iterated multiplications by x in binary floating-point arithmetic. The obtained error bound is only slightly better than the usual one, but it is simpler. We also discuss the more general problem of computing the product of n terms.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Graillat, S.: Accurate floating point product and exponentiation. IEEE Trans. Comput. 58(7), 994–1000 (2009)

    Article  MathSciNet  Google Scholar 

  2. Higham, N.J. Accuracy and Stability of Numerical Algorithms, 2nd edn. SIAM, Philadelphia, PA (2002)

    Book  MATH  Google Scholar 

  3. IEEE Computer Society. IEEE Standard for Floating-Point Arithmetic. IEEE Standard 754–2008, August 2008. Available at http://ieeexplore.ieee.org/servlet/opac?punumber=4610933

  4. Jeannerod, C.-P., Rump, S.M.: On relative errors of floating-point operations: optimal bounds and applications. Research report hal-00934443, available at http://hal.inria.fr/hal-00934443

  5. Jeannerod, C.-P., Rump, S.M.: Improved error bounds for inner products in floating-point arithmetic. SIAM J. Matrix Anal. Appl. 34(2), 338–344 (2013)

    Article  MATH  MathSciNet  Google Scholar 

  6. Knuth, D.: The Art of Computer Programming, 3rd edition, volume 2, Seminumerical Algorithms. Addison-Wesley, Reading, MA (1998)

    Google Scholar 

  7. Muller, J.-M., Brisebarre, N., De Dinechin, F., Jeannerod, C.-P., Lefèvre, V., Melquiond, G., Revol, N., Stehlé, D., Torres, S.: Handbook of Floating-Point Arithmetic. Birkhäuser Boston (2010)

  8. Rump, S.M.: Error estimation of floating-point summation and dot product. BIT 52(1), 201–220 (2012)

    Article  MATH  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Stef Graillat.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Graillat, S., Lefèvre, V. & Muller, JM. On the maximum relative error when computing integer powers by iterated multiplications in floating-point arithmetic. Numer Algor 70, 653–667 (2015). https://doi.org/10.1007/s11075-015-9967-8

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11075-015-9967-8

Keywords

Mathematics Subject Classification (2010)

Navigation