# Ultimately Fast Accurate Summation

@article{Rump2009UltimatelyFA,
title={Ultimately Fast Accurate Summation},
author={Siegfried M. Rump},
journal={SIAM J. Sci. Comput.},
year={2009},
volume={31},
pages={3466-3502}
}
• S. Rump
• Published 1 August 2009
• Computer Science
• SIAM J. Sci. Comput.
We present two new algorithms FastAccSum and FastPrecSum, one to compute a faithful rounding of the sum of floating-point numbers and the other for a result “as if” computed in $K$-fold precision. Faithful rounding means the computed result either is one of the immediate floating-point neighbors of the exact result or is equal to the exact sum if this is a floating-point number. The algorithms are based on our previous algorithms AccSum and PrecSum and improve them by up to 25%. The first…

## Figures and Tables from this paper

Algorithm 908
• Computer Science
ACM Trans. Math. Softw.
• 2010
A novel, online algorithm for exact summation of a stream of floating-point numbers that is the fastest, most accurate, and most memory efficient among known algorithms.
Computing Time for Summation Algorithm: Less Hazard and More Scientific Research
• Computer Science
• 2012
PerPI, a software tool that automatizes an almost machine independent analysis based on the instruction-level parallelism of the algorithm, is introduced and whether PerPI provides a more reliable performance analysis is discussed and how to improve the confidence level of future contributions in this area.
Fast Reproducible Floating-Point Summation
• Computer Science
2013 IEEE 21st Symposium on Computer Arithmetic
• 2013
This work proposes a technique for floating point summation that is reproducible independent of the order of summation, and uses Rump's algorithm for error-free vector transformation, and is much more efficient than using (possibly very) high precision arithmetic.
Parallel Reproducible Summation
• Computer Science
IEEE Transactions on Computers
• 2015
This work proposes a technique for floating point summation that is reproducible independent of the order of summation, and uses Rump's algorithm for error-free vector transformation, which is much more efficient than using (possibly very) high precision arithmetic.
Less Hazardous and More Scientific Research for Summation Algorithm Computing Times
• Computer Science
• 2012
PerPI is used, a software tool that automatizes an almost machine independent instruction-level parallelism analysis that provides a more reliable performance analysis, the remaining weakness and how to improve confidence for future contributions in this area are illustrated.
Using Floating-Point Intervals for Non-Modular Computations in Residue Number System
This work proposes to compute the interval evaluation of the fractional representation of an RNS number in floating-point arithmetic of limited precision and proposes new algorithms for magnitude comparison and general division in RNS and implements them for GPUs using the CUDA platform.
Full-Speed Deterministic Bit-Accurate Parallel Floating-Point Summation on Multi- and Many-Core Architectures
• Computer Science
• 2014
It is shown that the numerical reproducibility and bit-perfect accuracy can be achieved at no additional cost for large sums that have dynamic ranges of up to 90 orders of magnitude by leveraging arithmetic units that are left underused by standard reduction algorithms.
Efficient Reproducible Floating Point Summation and BLAS
• Computer Science
• 2015
An algorithm that computes a reproducible sum of floating point numbers, independent of the order of summation, dependent only on a subset of the IEEE Floating Point Standard 754-2008 is described.
A New Multiplication Algorithm for Extended Precision Using Floating-Point Expansions
• Computer Science
2016 IEEE 23nd Symposium on Computer Arithmetic (ARITH)
• 2016
A new multiplication algorithm for FP expansion with flexible precision, up to the order of tens of FP elements in mind, that has the regularity of a fixed-point representation while allowing the computation to be naturally carried out using native FP types.

## References

SHOWING 1-10 OF 57 REFERENCES
Accurate Floating-Point Summation Part I: Faithful Rounding
• Computer Science
SIAM J. Sci. Comput.
• 2008
This paper presents an algorithm for calculating a faithful rounding of a vector of floating-point numbers, which adapts to the condition number of the sum, and proves certain constants used in the algorithm to be optimal.
On the Computation of Correctly Rounded Sums
• Computer Science
IEEE Transactions on Computers
• 2009
In radix-2 floating-point arithmetic, it is proved that under reasonable conditions, an algorithm performing only round-to-nearest additions/subtractions cannot compute the round- to-NEarest sum of at least three floating- point numbers.
Fast high precision summation
• Computer Science
• 2010
Given a vector pi of ∞oating-point numbers with exact sum s, a new algorithm is presented that is fast in terms of measured computing time because it allows good instruction-level parallelism and more accurate and faster than competitors such as XBLAS.
Accurate and Efficient Floating Point Summation
• Computer Science
SIAM J. Sci. Comput.
• 2004
Several simple algorithms for accurately computing the sum of n floating point numbers using a wider accumulator are presented and how the cost of sorting can be reduced or eliminated while retaining accuracy is investigated.
Accurate Floating-Point Summation Part II: Sign, K-Fold Faithful and Rounding to Nearest
• Computer Science
SIAM J. Sci. Comput.
• 2008
An algorithm for calculating the rounded-to-nearest result of $s:=\sum p_i$ for a given vector of floating-point numbers $p_i$, as well as algorithms for directed rounding, working for huge dimensions.
Accurate Sum and Dot Product
• Computer Science
SIAM J. Sci. Comput.
• 2005
Algorithms for summation and dot product of floating-point numbers are presented which are fast in terms of measured computing time. We show that the computed results are as accurate as if computed
A New Distillation Algorithm for Floating-Point Summation
• Computer Science
SIAM J. Sci. Comput.
• 2005
This work presents a new distillation algorithm for floating-point summation which is stable, efficient, and accurate and does not rely on the choice of radix or any other specific assumption.
On properties of floating point arithmetics: numerical stability and the cost of accurate computations
It is concluded that programmers and theorists alike must be willing to adopt a more sophisticated view of floating point arithmetic, even if only to consider that more accurate and reliable computations than those presently in common use might be possible based on stronger hypotheses than are customarily assumed.
Adaptive Precision Floating-Point Arithmetic and Fast Robust Geometric Predicates
This article offers fast software-level algorithms for exact addition and multiplication of arbitrary precision floating-point values and proposes a technique for adaptive precision arithmetic that can often speed these algorithms when they are used to perform multiprecision calculations that do not always require exact arithmetic, but must satisfy some error bound.
Handbook of Floating-Point Arithmetic
• Computer Science
• 2009
The Handbook of Floating-point Arithmetic is designed for programmers of numerical applications, compiler designers, programmers of floating-point algorithms, designers of arithmetic operators, and more generally, students and researchers in numerical analysis who wish to better understand a tool used in their daily work and research.