Article View: comp.lang.forth
Article #104Re: FCONSTANT specification
From: dxf
Date: Sat, 17 Oct 2026 09:11
Date: Sat, 17 Oct 2026 09:11
55 lines
3603 bytes
3603 bytes
On 17/10/2026 3:37 pm, Krishna Myneni wrote: > On 10/16/26 9:37 PM, dxf wrote: >> 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. >> > > Yes, you are clearly smarter than the entire IEEE 754 standards committee, I wouldn't know about that but I can think for myself. I see no reason to delegate my thinking to another. It doesn't matter how 'smart' they are. But if that's what I think and I follow, I become a second-hand person, dependent upon another. > which specified that a system should leave the number of digits requested in a binary to decimal conversion to be unbounded. > > One use case clearly shows up in this thread with Marcel's implementation of xdfloats. Can't make head or tail of that.
Technical Details
Message-ID:
<6ad33bda$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-mailReferences:
<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> <6ad2df65$1@news.ausics.net> <11auu2d$3t6hf$2@dont-email.me>Show Full Headers
Complete Article Headers
Date: Sat, 17 Oct 2026 20:11:52 +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> <6ad2df65$1@news.ausics.net> <11auu2d$3t6hf$2@dont-email.me> Content-Language: en-GB From: dxf <dxforth@gmail.com> In-Reply-To: <11auu2d$3t6hf$2@dont-email.me> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit NNTP-Posting-Host: news.ausics.net Message-ID: <6ad33bda$1@news.ausics.net> Organization: Ausics - https://newsgroups.ausics.net Lines: 55 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