Skip to Main content Skip to Navigation
Journal articles

Midpoints and exact points of some algebraic functions in floating-point arithmetic

Claude-Pierre Jeannerod 1, 2 Nicolas Louvet 1, 2 Jean-Michel Muller 1, 2 Adrien Panhaleux 1, 2
1 ARENAIRE - Computer arithmetic
Inria Grenoble - Rhône-Alpes, LIP - Laboratoire de l'Informatique du Parallélisme
Abstract : When implementing a function f in floating-point arithmetic, if we wish correct rounding and good performance, it is important to know if there are input floating-point values x such that f(x) is either the middle of two consecutive floating-point numbers (assuming rounded-to-nearest arithmetic), or a floating-point number (assuming rounded towards infinity or towards 0 arithmetic). In the first case, we say that f(x) is a midpoint, and in the second case, we say that f(x) is an exact point. For some usual algebraic functions, and various floating-point formats, we prove whether or not there exist midpoints or exact points. When there exist midpoints or exact points, we characterize them or list all of them (if there are not too many). The results and the techniques presented in this paper can be used in particular to deal with both the binary and the decimal formats defined in the IEEE 754-2008 standard for floating-point arithmetic.
Document type :
Journal articles
Complete list of metadatas

Cited literature [12 references]  Display  Hide  Download
Contributor : Jean-Michel Muller <>
Submitted on : Tuesday, January 4, 2011 - 10:32:12 AM
Last modification on : Thursday, November 21, 2019 - 2:29:02 AM
Document(s) archivé(s) le : Friday, December 2, 2016 - 5:26:27 PM


Publisher files allowed on an open archive




Claude-Pierre Jeannerod, Nicolas Louvet, Jean-Michel Muller, Adrien Panhaleux. Midpoints and exact points of some algebraic functions in floating-point arithmetic. IEEE Transactions on Computers, Institute of Electrical and Electronics Engineers, 2011, 60 (2), pp.228-241. ⟨10.1109/TC.2010.144⟩. ⟨ensl-00409366v3⟩



Record views


Files downloads