4.6 Article

A CLASS OF FAST AND ACCURATE SUMMATION ALGORITHMS

期刊

SIAM JOURNAL ON SCIENTIFIC COMPUTING
卷 42, 期 3, 页码 A1541-A1557

出版社

SIAM PUBLICATIONS
DOI: 10.1137/19M1257780

关键词

summation; recursive summation; compensated summation; blocked summation; rounding error analysis; floating-point arithmetic; numerical linear algebra

资金

  1. Engineering and Physical Sciences Research Council [EP/P020720/1]
  2. MathWorks
  3. Royal Society
  4. EPSRC [EP/P020720/1] Funding Source: UKRI

向作者/读者索取更多资源

The need to sum floating-point numbers is ubiquitous in scientific computing. Standard recursive summation of n summands, often implemented in a blocked form, has a backward error bound proportional to nu, where u is the unit roundoff. With the growing interest in low precision floating-point arithmetic and ever increasing n in applications, computed sums are more likely to have insufficient accuracy. We propose a class of summation algorithms called FABsum (for fast and accurate block summation) that applies a fast summation algorithm (such as recursive summation) blockwise and then sums the partial sums using an accurate summation algorithm (such as compensated summation, or recursive summation in higher precision). We give a rounding error analysis to show that FABsum with a fixed block size b has a backward error bound (b + 1)u + O(u(2)), which is independent of n to first order. Our computational experiments show that with a suitable choice of b (independent of n) FABsum can deliver substantially more accurate results than blocked recursive summation, with only a modest drop in performance. FABsum is especially attractive for low precisions, where it can provide correct digits for much larger n than recursive summation.

作者

我是这篇论文的作者
点击您的名字以认领此论文并将其添加到您的个人资料中。

评论

主要评分

4.6
评分不足

次要评分

新颖性
-
重要性
-
科学严谨性
-
评价这篇论文

推荐

暂无数据
暂无数据