Skip to main content
Log in

Computing predecessor and successor in rounding to nearest

  • Published:
BIT Numerical Mathematics Aims and scope Submit manuscript

Abstract

We give simple and efficient methods to compute and/or estimate the predecessor and successor of a floating-point number using only floating-point operations in rounding to nearest. This may be used to simulate interval operations, in which case the quality in terms of the diameter of the result is significantly improved compared to existing approaches.

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. American National Standards Institute, Institute of Electrical, and Electronic Engineers. IEEE Standard for Radix-Independent Floating-Point Arithmetic. ANSI/IEEE Standard, Std. 854–1987 (1987)

  2. Boldo, S.: Preuves formelles en arithmétiques à virgule flottante. Ph.D. Dissertation, École Normale Supérieure de Lyon (2004)

  3. Boldo, S., Muller, J.-M.: Some functions computable with a fused-mac. In: Montuschi, P., Schwarz, E. (eds.) Proceedings of the 17th Symposium on Computer Arithmetic, pp. 52–58, Cape Cod, USA (2005)

  4. Cody, W.J. Jr., Coonen, J.T.: Algorithm 722: Functions to support the IEEE standard for binary floating-point arithmetic. ACM Trans. Math. Softw. 19(4), 443–451 (1993)

    Article  MATH  Google Scholar 

  5. Daumas, M., Rideau, L., Théry, L.: A generic library of floating-point numbers and its application to exact computing. In: 14th International Conference on Theorem Proving in Higher Order Logics, Edinburgh, Scotland, pp. 169–184 (2001)

  6. Institute of Electrical, and Electronic Engineers: IEEE Standard for Floating-Point Arithmetic. IEEE Standard 754-2008. Revision of ANSI-IEEE Standard 754-1985. Approved June 12, 2008: IEEE Standards Board

  7. Kearfott, R.B., Dawande, M., Du, K., Hu, C.: Algorithm 737: INTLIB: A portable Fortran 77 interval standard-function library. ACM Trans. Math. Softw. 20(4), 447–459 (1994)

    Article  MATH  Google Scholar 

  8. Rump, S.M., Ogita, T., Oishi, S.: Accurate floating-point summation part I: faithful rounding. SIAM J. Sci. Comput. (SISC) 31(1), 189–224 (2008)

    Article  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Siegfried M. Rump.

Additional information

Communicated by Axel Ruhe.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Rump, S.M., Zimmermann, P., Boldo, S. et al. Computing predecessor and successor in rounding to nearest. Bit Numer Math 49, 419–431 (2009). https://doi.org/10.1007/s10543-009-0218-z

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10543-009-0218-z

Keywords

Mathematics Subject Classification (2000)

Navigation