Deutsch   English   Français   Italiano  
<372725cbde75de8c5e4f86e726b42d159b3bba93@i2pn2.org>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: dxf <dxforth@gmail.com>
Newsgroups: comp.lang.forth
Subject: Re: FP number syntax
Date: Thu, 26 Dec 2024 12:52:28 +1100
Organization: i2pn2 (i2pn.org)
Message-ID: <372725cbde75de8c5e4f86e726b42d159b3bba93@i2pn2.org>
References: <f3d930ef062d020cd12825545af27eb8cccf9160@i2pn2.org>
 <nnd$640eab7e$4e79ac20@662b3066f040a86b>
 <1813f2d19d4342f6$1$2114101$6edd246a@news.thundernews.com>
 <a8ce35a637d497e9463b59e0a60610f9193a0964@i2pn2.org>
 <18144fdcf3101ad4$48173$217357$28dd626e@news.thundernews.com>
 <e5e1f8524522d6ce46bbbe3461a3ab654b335abc@i2pn2.org>
 <2024Dec25.123616@mips.complang.tuwien.ac.at>
 <72a684322eef7cc0ccfc9495cfee48f7@www.novabbs.com>
 <0d58f9f2c2e7ce33f032cbda245a1eee4782552f@i2pn2.org>
 <874j2rpcl3.fsf@nightsong.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 26 Dec 2024 01:52:31 -0000 (UTC)
Injection-Info: i2pn2.org;
	logging-data="473848"; mail-complaints-to="usenet@i2pn2.org";
	posting-account="XPw7UV90Iy7EOhY4YuUXhpdoEf5Vz7K+BsxA/Cx8bVc";
User-Agent: Mozilla Thunderbird
X-Spam-Checker-Version: SpamAssassin 4.0.0
In-Reply-To: <874j2rpcl3.fsf@nightsong.com>
Content-Language: en-GB
Bytes: 1920
Lines: 11

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.