🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.forth
Article #16

Re: You cannot know how many cells a floating-point number takes?

#16
From: marcel hendrix
Date: Wed, 07 Oct 2026 10:43
20 lines
2221 bytes
On 10/7/2026 8:30 AM, Anton Ertl wrote:
> marcel hendrix <mhx@iae.nl> writes:
>> Except for the FFL, I have yet to see the first useful library that
>> needs to know the size of the FP stack.
> 
> My code for summing up an array needs an FP stack that is deeper than
> 8 elements for all but the smalles arrays for SHIFT-REDUCE-SUM; for
> RECURSIVE-SUM, it checks the stack depth, and if it is small, the
> higher levels of the evaluation move intermediate results from the FP
> stack before calling the lower-level SUM<n> words which use up to 8 FP
> stack items.
> 
> https://www.complang.tuwien.ac.at/forth/programs/pairwise-sum.4th
> 

Did you check if it speeds up the NORMAL() algorithm in the mm.frt 
benchmark?

-marcel
Technical Details
Message-ID: <11a57or$157r7$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11a28dj$1nh2c$1@dont-email.me> <11a2ioh$vi58$1@dont-email.me> <11a3873$2444s$1@dont-email.me> <2026Oct6.190644@mips.complang.tuwien.ac.at> <11a3dfa$12p0r$1@dont-email.me> <2026Oct7.083013@mips.complang.tuwien.ac.at>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: marcel hendrix <mhx@iae.nl>
Newsgroups: comp.lang.forth
Subject: Re: You cannot know how many cells a floating-point number takes?
Date: Wed, 7 Oct 2026 12:43:38 +0200
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <11a57or$157r7$1@dont-email.me>
References: <11a28dj$1nh2c$1@dont-email.me> <11a2ioh$vi58$1@dont-email.me>
 <11a3873$2444s$1@dont-email.me> <2026Oct6.190644@mips.complang.tuwien.ac.at>
 <11a3dfa$12p0r$1@dont-email.me> <2026Oct7.083013@mips.complang.tuwien.ac.at>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 07 Oct 2026 10:43:40 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="1220455"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19gL6vR3T/5DF4wPdKL4kALiU9TZwxb/GI="; posting-host="a9e7bcce33461a38f541219b9c2c7f6f"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:8spengc8k2ISYpTaHloptNiJ+cY= sha256:O/bnXyLCRArbMi4Ftu6Hkr0jRh0L7cfxL5xmCnGeeR0=
	sha1:VrxRB1BSb+ZGpTo//N3AI2BwEho= sha256:r4N0WT5ZDjorfbsIaeCr1pIr3PP5uDc6e6dsK/7hlVE=
In-Reply-To: <2026Oct7.083013@mips.complang.tuwien.ac.at>
Content-Language: en-US