Sujet : Re: FP number syntax
De : dxforth (at) *nospam* gmail.com (dxf)
Groupes : comp.lang.forthDate : 26. Dec 2024, 00:07:42
Autres entêtes
Organisation : i2pn2 (i2pn.org)
Message-ID : <0d58f9f2c2e7ce33f032cbda245a1eee4782552f@i2pn2.org>
References : 1 2 3 4 5 6 7 8
User-Agent : Mozilla Thunderbird
On 26/12/2024 12:41 am, minforth wrote:
My way: if the double number wordset is not included (i.e. practically
always) any number with a decimal point is recognized as fp number. Very
handy.
So it's one or the other and your comment suggests doubles are preferred.
This relates to the forth interpreter and from my observation there's been
little historical demand '1.34' be recognized as a float. A curiosity it
certainly is as it's so unusual.