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.
Similar content being viewed by others
References
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)
Boldo, S.: Preuves formelles en arithmétiques à virgule flottante. Ph.D. Dissertation, École Normale Supérieure de Lyon (2004)
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)
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)
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)
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
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)
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)
Author information
Authors and Affiliations
Corresponding author
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
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10543-009-0218-z