Deutsch   English   Français   Italiano  
<87ms96vd37.fsf@nightsong.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: nntp.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: Paul Rubin <no.email@nospam.invalid>
Newsgroups: comp.lang.forth
Subject: Re: Parsing timestamps?
Date: Mon, 14 Jul 2025 11:31:24 -0700
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <87ms96vd37.fsf@nightsong.com>
References: <1f433fabcb4d053d16cbc098dedc6c370608ac01@i2pn2.org>
	<cdf19da4f12fb2871cb316a7da47561e139b640a@i2pn2.org>
	<874ivjw48w.fsf@nightsong.com>
	<91e8859d9cb678b7ce7a8a5f341de513@www.novabbs.com>
	<2025Jul11.122254@mips.complang.tuwien.ac.at>
	<954cf34891bed0677fd79af0b676c50613dc1443@i2pn2.org>
	<2025Jul13.110141@mips.complang.tuwien.ac.at>
	<2d6811168025a74b3ff51a78efb75947d36a0146@i2pn2.org>
	<2025Jul14.080413@mips.complang.tuwien.ac.at>
	<063d4a116fb394a776b1e9313f9903cf@www.novabbs.com>
	<2025Jul14.095004@mips.complang.tuwien.ac.at>
	<a449857495e02b4d35627f9f31d37fd8@www.novabbs.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Mon, 14 Jul 2025 20:31:25 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="ce693aa42bc9ffd31fe9c0b8d00e84f3";
	logging-data="3741045"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19PMsm/bStyWDGrBcLlhYk3"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:TiliyLMvbgXoY/IHXI3nq0ZBFaQ=
	sha1:9PROjJ9/OqnrT7eTMSWKGGV+P3Q=

mhx@iae.nl (mhx) writes:
> This looks very interesting. I can find Kahan and Neumaier, but
> "tree addition" didn't turn up (There is a suspicious looking
> reliability paper about the approach which surely is not what
> you meant). Or is it pairwise addition what I should look for?

I think the idea is to treat (say) a 1024 element sum into two
512-element sums that you compute separately, then add the results
together.  You do the 512-element sums the same way, recursively.
Sometimes you can parallelize the computations, and depending on the CPU
you might be able to use vector or SIMD instructions once the chunks are
small enough.