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

https://hal-ens-lyon.archives-ouvertes.fr/ensl-00409366
Contributor : Jean-Michel Muller Connect in order to contact the contributor
Submitted on : Monday, March 22, 2010 - 1:41:16 PM
Last modification on : Friday, September 10, 2021 - 2:34:03 PM
Long-term archiving on: : Wednesday, November 30, 2016 - 3:45:18 PM

Files

Reciprocal_2D-norm_decimal128....
Files produced by the author(s)


Identifiers

  • HAL Id : ensl-00409366, version 2

Collections

Citation

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⟩

Share

Metrics

Record views

19

Files downloads

64