🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.forth
Article #99

Re: FCONSTANT specification

#99
From: dxf
Date: Sat, 17 Oct 2026 02:37
49 lines
3060 bytes
On 16/10/2026 4:12 pm, Anton Ertl wrote:
> dxf <dxforth@gmail.com> writes:
>> On 15/10/2026 4:55 pm, Anton Ertl wrote:
>>> dxf <dxforth@gmail.com> writes:
>>>> On 14/10/2026 7:25 pm, Anton Ertl wrote:
>>>>> What is an "imprecise number"?  In any case, every FP number has a
>>>>> precise value.  It may not be the value you are interested in, but
>>>>> that does not make the value any less precise.  And thinking about FP
>>>>> numbers as "imprecise" or intervals etc. leads you down the path to
>>>>> wrong conclusions.
>>>>
>>>> If the recently-dubbed "high quality" REPRESENTs aren't printing out
>>>> intervals then what are they doing?  Following the leader?
>>>
>>> If you give a precise REPRESENT a big-enough buffer, it gives you the
>>> decimal representation of the floating-point value, exactly.
>>
>> It gives a decimal representation of the nearest storage slot that the
>> floating-point value was assigned.
> 
> Storage slot?  Are your postings AI slop?

Did you have a problem understanding it?  I've never used AI.
 
> Anyway, every binary FP number can be represented exactly as decimal
> number, but some FP numbers need a large number of digits in decimal
> representation.  Gforth's E.EXACT outputs this decimal representation,
> when based on an appropriate ecvt_r() (such as that in glibc 2.36).
> 
>> That floating-point value never had
>> more than 17 useful digits.
> 
> How many digits are useful depends on the use.  In particular, if you
> want to know the exact decimal representation of an FP value, often
> more than 17 digits are necessary, and therefore, for this use,
> useful.

There's 'uses' but you can't give any.

>> The question then becomes why?  Why deliberately misrepresent users?
>> I'd have to fall on my head.
> 
> More AI slop?

Somebody sold GCC 'The Emperor's New Clothes' and now it is showing off
its apparel.  Sorry, but all I see is vanity laid bare.

> ...
Technical Details
Message-ID: <6ad2df65$1@news.ausics.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.ausics.net!not-for-mail
References: <11aide4$1ibse$1@dont-email.me> <2026Oct12.203631@mips.complang.tuwien.ac.at> <11am4ae$fte4$1@dont-email.me> <nnd$6e3248f1$0599409a@3ae3c368d79558dd> <2026Oct14.102517@mips.complang.tuwien.ac.at> <6ad02ef0$1@news.ausics.net> <2026Oct15.075508@mips.complang.tuwien.ac.at> <6ad17c5a$1@news.ausics.net> <2026Oct16.071212@mips.complang.tuwien.ac.at>

Show Full Headers
Complete Article Headers
Date: Sat, 17 Oct 2026 13:37:25 +1100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: FCONSTANT specification
Newsgroups: comp.lang.forth
References: <11aide4$1ibse$1@dont-email.me>
 <2026Oct12.203631@mips.complang.tuwien.ac.at> <11am4ae$fte4$1@dont-email.me>
 <nnd$6e3248f1$0599409a@3ae3c368d79558dd>
 <2026Oct14.102517@mips.complang.tuwien.ac.at> <6ad02ef0$1@news.ausics.net>
 <2026Oct15.075508@mips.complang.tuwien.ac.at> <6ad17c5a$1@news.ausics.net>
 <2026Oct16.071212@mips.complang.tuwien.ac.at>
Content-Language: en-GB
From: dxf <dxforth@gmail.com>
In-Reply-To: <2026Oct16.071212@mips.complang.tuwien.ac.at>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: news.ausics.net
Message-ID: <6ad2df65$1@news.ausics.net>
Organization: Ausics - https://newsgroups.ausics.net
Lines: 49
X-Complaints: abuse@ausics.net
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.ausics.net!not-for-mail