Sujet : Re: FP number syntax
De : dxforth (at) *nospam* gmail.com (dxf)
Groupes : comp.lang.forthDate : 26. Dec 2024, 02:52:28
Autres entêtes
Organisation : i2pn2 (i2pn.org)
Message-ID : <372725cbde75de8c5e4f86e726b42d159b3bba93@i2pn2.org>
References : 1 2 3 4 5 6 7 8 9 10
User-Agent : Mozilla Thunderbird
On 26/12/2024 10:28 am, Paul Rubin wrote:
dxf <dxforth@gmail.com> writes:
there's been little historical demand '1.34' be recognized as a float.
It's a mistake I make all the time, but I figure it's one of Forth's
frozen oddities. In a non-ANS Forth, I'd probably make 1.34 a float and
use some other scheme for literal doubles.
Embedded punctuation in doubles was something I was never happy with
(misleading, can make a typo and still be accepted). So when ANS limited
it to one decimal point at the end I was rather relieved.