Skip to Main content Skip to Navigation
Preprints, Working Papers, ...

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 :
Preprints, Working Papers, ...
Complete list of metadata
Contributor : Jean-Michel Muller Connect in order to contact the contributor
Submitted on : Friday, August 7, 2009 - 9:48:08 AM
Last modification on : Friday, September 10, 2021 - 2:34:03 PM
Long-term archiving on: : Monday, October 15, 2012 - 4:05:36 PM


Files produced by the author(s)


  • HAL Id : ensl-00409366, version 1



Claude-Pierre Jeannerod, Nicolas Louvet, Jean-Michel Muller, Adrien Panhaleux. Midpoints and exact points of some algebraic functions in floating-point arithmetic. 2009. ⟨ensl-00409366v1⟩



Record views


Files downloads