<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Fast exact summation using small and large superaccumulators · HackerPapers discussions</title><link>https://hackerpaper.kaipfister.de/p/1505.05571/</link><description>Collected HN comments and submissions linking this paper.</description><language>en</language><lastBuildDate>Mon, 02 Nov 2026 11:16:22 GMT</lastBuildDate><atom:link href="https://hackerpaper.kaipfister.de/p/1505.05571/feed.xml" rel="self" type="application/rss+xml" /><item><title>Fast exact summation using small and large superaccumulators — mentioned by lifthrasiir</title><link>https://news.ycombinator.com/item?id=42037229</link><guid isPermaLink="false">urn:hackerpapers:mention:1505.05571:42037229</guid><pubDate>Mon, 04 Nov 2024 00:14:16 GMT</pubDate><description>&lt;p&gt;Indeed, this approach is known as a superaccumulator [1] and faster overall than the Kahan summation for a large amount of numbers. I don&amp;#x27;t exactly know the currently accepted threshold but 10,000 numbers should be conservative enough for that. [1] https://arxiv.org/abs/1505.05571&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/1505.05571/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>math.NA</category></item><item><title>Fast exact summation using small and large superaccumulators — mentioned by radford-neal</title><link>https://news.ycombinator.com/item?id=40483267</link><guid isPermaLink="false">urn:hackerpapers:mention:1505.05571:40483267</guid><pubDate>Sun, 26 May 2024 16:13:03 GMT</pubDate><description>&lt;p&gt;Exact addition using accumulators has progressed since the work of Zhu and Hayes in 2010. See my paper at https://arxiv.org/abs/1505.05571 (repository at https://gitlab.com/radfordneal/xsum), which is used in the Julia xsum package (https://docs.juliahub.com/General/Xsum/stable/). There&amp;#x27;s also recent work by Marko Lange at https://web.archive.org/web/20220616031105id_/https://dl.acm... I think these methods are probably faster than the exact methods you benchmark.&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/1505.05571/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>math.NA</category></item><item><title>Fast exact summation using small and large superaccumulators — mentioned by radford-neal</title><link>https://news.ycombinator.com/item?id=23356797</link><guid isPermaLink="false">urn:hackerpapers:mention:1505.05571:23356797</guid><pubDate>Fri, 29 May 2020 23:26:03 GMT</pubDate><description>&lt;p&gt;While Kahan summation is more accurate than naive summation, it still does not produce the precise result (the true sum rounded to the final precision). It is not too costly to do the summation exactly. Several algorithms for this have been developed. You can read about mine at https://arxiv.org/abs/1505.05571 and get the code for them at https://gitlab.com/radfordneal/xsum&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/1505.05571/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>math.NA</category></item><item><title>Fast exact summation using small and large superaccumulators — mentioned by StefanKarpinski</title><link>https://news.ycombinator.com/item?id=19484132</link><guid isPermaLink="false">urn:hackerpapers:mention:1505.05571:19484132</guid><pubDate>Mon, 25 Mar 2019 16:46:09 GMT</pubDate><description>&lt;p&gt;It&amp;#x27;s an interesting connection. Any finite collection of real values (represented in floating-point or otherwise) has a definite correct sum. If you&amp;#x27;re constrained to the floating-point to represent that value, you should ideally round the true value to the closest float and return that. Computing this true sum of a sequence of floating-point values is surprisingly hard though. The state of the art seems to be Radford Neal&amp;#x27;s paper on superaccumulators from 2015: https://arxiv.org/abs/1505.05571 Fortunately pairwise summation (Julia&amp;#x27;s default) is fast and fairly hard to trip up, although it…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/1505.05571/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>math.NA</category></item><item><title>Fast exact summation using small and large superaccumulators — HN submission</title><link>https://news.ycombinator.com/item?id=13436515</link><guid isPermaLink="false">urn:hackerpapers:submission:1505.05571:13436515</guid><pubDate>Thu, 19 Jan 2017 15:32:23 GMT</pubDate><description>&lt;p&gt;Fast exact summation using small and large superaccumulators&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;31 points; 7 discussion replies on HN. &lt;a href="https://hackerpaper.kaipfister.de/p/1505.05571/"&gt;Paper and source history&lt;/a&gt;. A submission is not an endorsement.&lt;/p&gt;</description><category>math.NA</category></item></channel></rss>
