Thread View: comp.lang.forth
3 messages
3 total messages
Started by dxf
Wed, 07 Oct 2026 02:47
Re: You cannot know how many cells a floating-point number takes?
Author: dxf
Date: Wed, 07 Oct 2026 02:47
Date: Wed, 07 Oct 2026 02:47
18 lines
1508 bytes
1508 bytes
On 7/10/2026 7:13 am, Paul Rubin wrote: > Hans Bezemer <the.beez.speaks@gmail.com> writes: >> 1 floats 1 cells /mod . . 1 0 ok >> So it told me -- without ANY doubt whatsoever, that the size of a >> FLOAT is equal to the size of a CELL. > > That's on your specific installation, which might be 64-bit gforth. You > could also try it with 32-bit gforth, which might still use 64-bit > floats. > > In Forth-2012 I think the FP stack is mandated. "12.3.3 Floating-point stack A last in, first out list that shall be used by all floating-point operators." It's the nature of human fear that all systems tend to conformity, intolerance and outright suppression.
Re: You cannot know how many cells a floating-point number takes?
Author: Hans Bezemer
Date: Wed, 07 Oct 2026 07:39
Date: Wed, 07 Oct 2026 07:39
10 lines
1695 bytes
1695 bytes
On 07-10-2026 04:47, dxf wrote: > It's the nature of human fear that all systems tend to conformity, intolerance > and outright suppression. "I am the rebel. I am the cause of all this trouble". Simply ignore it and keep close to ANS-94. Forth 2012 had this distinct "Forth-83" smell to it. The FP stack is just one of its abominations. Hans Bezemer
Re: You cannot know how many cells a floating-point number takes?
Author: Hans Bezemer
Date: Wed, 07 Oct 2026 07:45
Date: Wed, 07 Oct 2026 07:45
14 lines
1696 bytes
1696 bytes
On 07-10-2026 04:47, dxf wrote: > It's the nature of human fear that all systems tend to conformity, intolerance > and outright suppression. "I am an outlaw, a shadow, a threat, A menace they look on with fear and regret. I walk in the margins, I break through the lines, AND I OWE NO ALLEGIANCE TO ANY DESIGNS." "The Outlaw" by Robert Service HB
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