๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.lang.forth
1 messages
1 total messages Started by dxf Wed, 07 Oct 2026 02:24
Re: You cannot know how many cells a floating-point number takes?
#3
Author: 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.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads