A comparison of methods for accurate summation

SIGSAM Bull. Pub Date : 2004-03-01 DOI:10.1145/980175.980177
J. McNamee
{"title":"A comparison of methods for accurate summation","authors":"J. McNamee","doi":"10.1145/980175.980177","DOIUrl":null,"url":null,"abstract":"The summation of large sets of numbers is prone to serious rounding errors. Several methods of controlling these errors are compared, with respect to both speed and accuracy. It is found that the method of \"Cascading Accumulators\" is the fastest of several methods. The Double Compensation method (in both single and double precision versions) is also perfectly accurate in all the tests performed. Although slower than the Cascade method, it is recommended when double precision accuracy is required. C programs that implement both these methods are available in the BULLETIN online repository.","PeriodicalId":314801,"journal":{"name":"SIGSAM Bull.","volume":"10 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2004-03-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"30","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"SIGSAM Bull.","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/980175.980177","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 30

Abstract

The summation of large sets of numbers is prone to serious rounding errors. Several methods of controlling these errors are compared, with respect to both speed and accuracy. It is found that the method of "Cascading Accumulators" is the fastest of several methods. The Double Compensation method (in both single and double precision versions) is also perfectly accurate in all the tests performed. Although slower than the Cascade method, it is recommended when double precision accuracy is required. C programs that implement both these methods are available in the BULLETIN online repository.
精确求和方法的比较
大量数字的总和容易出现严重的舍入误差。从速度和精度两方面比较了几种控制这些误差的方法。发现“级联累加器”方法是几种方法中速度最快的。双补偿法(单精度和双精度版本)在所有执行的测试中也完全准确。虽然比Cascade方法慢,但在需要双精度精度时建议使用。实现这两种方法的C程序可以在BULLETIN在线存储库中获得。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信