FastTwoSum revisited

The FastTwoSum algorithm is a classical way to evaluate the rounding error that occurs when adding two numbers in finite precision arithmetic. Starting with Dekker in the early 1970s, numerous floating-point analyses have been made of this algorithm, that are aimed at identifying sufficient conditions for the error to be computed exactly and, otherwise, at quantifying the quality of the error estimate thus produced. In this paper we revisit these two aspects of FastTwoSum. We first provide new, less restrictive conditions for exactness, and show that FastTwoSum performs an error-free transform in more general situations than those found so far in the literature. Second, when exactness cannot be guaranteed we give several error analyses of the output of FastTwoSum and show that the bounds obtained are tight. In particular, this provides further insight into how the algorithm behaves when roundings other than ‘to nearest’ are used, or when the operands are reversed.

Authors

Institutions

Publication Details

Published
2025-05-04
DOI
https://doi.org/10.1109/arith64983.2025.00030
Citations
1
Primary Topic
Railway Systems and Energy Efficiency
Type
article
Field-Weighted Citation Impact
1.24
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

FastTwoSum revisited

Paul Zimmermann, Claude-Pierre Jeannerod
1 citations
Railway Systems and Energy Efficiency
1.24
article

FastTwoSum revisited

Paul Zimmermann, Claude-Pierre Jeannerod
article en
1 citations

Abstract

The FastTwoSum algorithm is a classical way to evaluate the rounding error that occurs when adding two numbers in finite precision arithmetic. Starting with Dekker in the early 1970s, numerous floating-point analyses have been made of this algorithm, that are aimed at identifying sufficient conditions for the error to be computed exactly and, otherwise, at quantifying the quality of the error estimate thus produced. In this paper we revisit these two aspects of FastTwoSum. We first provide new, less restrictive conditions for exactness, and show that FastTwoSum performs an error-free transform in more general situations than those found so far in the literature. Second, when exactness cannot be guaranteed we give several error analyses of the output of FastTwoSum and show that the bounds obtained are tight. In particular, this provides further insight into how the algorithm behaves when roundings other than ‘to nearest’ are used, or when the operands are reversed.

Université Claude Bernard Lyon 1 (FR), École Normale Supérieure de Lyon (FR), Centre National de la Recherche Scientifique (FR), Laboratoire Lorrain de Recherche en Informatique et ses Applications (FR), Université de Lorraine (FR)
Openalex Percentile: Top 18%
Railway Systems and Energy Efficiency
1.24
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

FastTwoSum revisited — Paul Zimmermann, Claude-Pierre Jeannerod · (2025) | TGRS Research Map | TGRS