๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.forth
Article #3

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

#3
From: dxf
Date: Wed, 07 Oct 2026 02:24
12 lines
1625 bytes
On 7/10/2026 3:09 am, Hans Bezemer wrote:
> On 06-10-2026 15:37, Krishna Myneni wrote:
>> One issue is that people will sometimes resort to use of temporary FVARIABLEs to get floating point numbers off the data stack. Then the word is not re-entrant.
> 
> Not all words need to be reentrant -- so I don't consider this too big of a problem. Just a documentation issue. And if you reallyย  want to make things reentrant this completely free routine, offered to you by the "4tH compiler", will do:
> ...

Let's not forget most systems use x87 hardware stack which is quite limited,
forcing users to consider variables in any case.  It's perhaps no surprise
FSL implemented 'flocals' which notable fp users such as JVN improved upon
and presumably used.
Technical Details
Message-ID: <6ac5ad69$1@news.ausics.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.ausics.net!not-for-mail
References: <11a28dj$1nh2c$1@dont-email.me> <11a2tit$1vh9e$1@dont-email.me> <11a36fq$230bn$1@dont-email.me>

Show Full Headers
Complete Article Headers
Date: Wed, 7 Oct 2026 13:24:42 +1100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: You cannot know how many cells a floating-point number takes?
Newsgroups: comp.lang.forth
References: <11a28dj$1nh2c$1@dont-email.me> <11a2tit$1vh9e$1@dont-email.me>
 <11a36fq$230bn$1@dont-email.me>
Content-Language: en-GB
From: dxf <dxforth@gmail.com>
In-Reply-To: <11a36fq$230bn$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
NNTP-Posting-Host: news.ausics.net
Message-ID: <6ac5ad69$1@news.ausics.net>
Organization: Ausics - https://newsgroups.ausics.net
Lines: 12
X-Complaints: abuse@ausics.net
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.ausics.net!not-for-mail