Computing predecessor and successor in rounding to nearest (original) (raw)

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.

Access this article

Log in via an institution

Subscribe and save

Buy Now

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

  1. Institute for Reliable Computing, Hamburg University of Technology, Schwarzenbergstraße 95, 21071, Hamburg, Germany
    Siegfried M. Rump
  2. Faculty of Science and Engineering, Waseda University, 3-4-1 Okubo, Shinjuku-ku, Tokyo, 169-8555, Japan
    Siegfried M. Rump
  3. Centre de Recherche INRIA Nancy–Grand Est, Équipe-projet CACAO, Bâtiment A, 615 rue du jardin botanique, 54600, Villers-lès-Nancy, France
    Paul Zimmermann
  4. INRIA Saclay–Île-de-France, Parc Orsay Université–ZAC des Vignes, 4 rue Jacques Monod–Bâtiment N, 91893, Orsay Cedex, France
    Sylvie Boldo
  5. Centre de recherche commun INRIA–Microsoft Research, 28 rue Jean Rostand, 91893, Orsay Cedex, France
    Guillaume Melquiond

Authors

  1. Siegfried M. Rump
  2. Paul Zimmermann
  3. Sylvie Boldo
  4. Guillaume Melquiond

Corresponding author

Correspondence toSiegfried M. Rump.

Additional information

Communicated by Axel Ruhe.

Rights 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

Keywords

Mathematics Subject Classification (2000)