Options
A note on Dekker’s FastTwoSum algorithm
Citation Link: https://doi.org/10.15480/882.3810
Publikationstyp
Journal Article
Date Issued
2020-04-24
Sprache
English
Author(s)
Institut
TORE-DOI
TORE-URI
Journal
Volume
145
Issue
2
Start Page
383
End Page
403
Citation
Numerische Mathematik 145 (2): 383-403 (2020-06-01)
Publisher DOI
Scopus ID
Publisher
Springer
More than 45 years ago, Dekker proved that it is possible to evaluate the exact error of a floating-point sum with only two additional floating-point operations, provided certain conditions are met. Today the respective algorithm for transforming a sum into its floating-point approximation and the corresponding error is widely referred to as FastTwoSum. Besides some assumptions on the floating-point system itself—all of which are satisfied by any binary IEEE 754 standard conform arithmetic, the main practical limitation of FastTwoSum is that the summands have to be ordered according to their exponents. In most preceding applications of FastTwoSum, however, a more stringent condition is used, namely that the summands have to be sorted according to their absolute value. In remembrance of Dekker’s work, this note reminds the original assumptions for an error-free transformation viaFastTwoSum. Moreover, we generalize the conditions for arbitrary bases and discuss a possible modification of the FastTwoSum algorithm to extend its applicability even further. Subsequently, a range of programs exploiting the wider applicability is presented. This comprises the OnlineExactSum algorithm by Zhu and Hayes, an error-free transformation from a product of three floating-point numbers to a sum of the same number of addends, and an algorithm for accurate summation proposed by Demmel and Hida.
DDC Class
510: Mathematik
Publication version
publishedVersion
Loading...
Name
Lange-Oishi2020_Article_ANoteOnDekkerSFastTwoSumAlgori-2.pdf
Size
371.68 KB
Format
Adobe PDF