Preprints, Working Papers, ... Year : 2010

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

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.
Fichier principal
Vignette du fichier
Reciprocal_2D-norm_decimal128.pdf (84) Télécharger le fichier
Reciprocal_2D-norm_decimal64.pdf (82) Télécharger le fichier
Reciprocal_decimal64.pdf (60) Télécharger le fichier
Reciprocal_square-root_decimal64.pdf (102) Télécharger le fichier
midpoints.pdf (12) Télécharger le fichier
Origin Files produced by the author(s)
Origin Files produced by the author(s)
Origin Files produced by the author(s)
Format Other
Origin Files produced by the author(s)

Dates and versions

ensl-00409366 , version 1 (07-08-2009)
ensl-00409366 , version 2 (22-03-2010)
ensl-00409366 , version 3 (04-01-2011)

Identifiers

  • HAL Id : ensl-00409366 , version 2

Cite

Claude-Pierre Jeannerod, Nicolas Louvet, Jean-Michel Muller, Adrien Panhaleux. Midpoints and exact points of some algebraic functions in floating-point arithmetic. 2010. ⟨ensl-00409366v2⟩
409 View
489 Download

Share

More