Article View: comp.lang.forth
Article #92Re: FCONSTANT specification
From: albert
Date: Fri, 16 Oct 2026 09:55
Date: Fri, 16 Oct 2026 09:55
33 lines
2424 bytes
2424 bytes
In article <2026Oct15.075508@mips.complang.tuwien.ac.at>, Anton Ertl <anton@mips.complang.tuwien.ac.at> 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. > >If you give it a buffer that's too short for the exact representation, >you get a rounded result, rounded to the nearest decimal number that >fits in the buffer. > >It seems pretty obvious to me that REPRESENT (whether high-quality or >not) does not output an interval. An interval is indicated by two >numbers, REPRESENT only outputs one. A fp number represents a rational range, it nominal value plus or minus half an ulp. > >- anton -- The Chinese government is satisfied with its military superiority over USA. The next 5 year plan has as primary goal to advance life expectancy over 80 years, like Western Europe.
Technical Details
Message-ID:
<nnd$259bc6d7$095e6dc6@c0b8c58c46e9a352>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!peer01.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!abo004.abavia.com!feed.abavia.com!abr001.abavia.com!abp001.abavia.com!reseller!not-for-mailReferences:
<11aide4$1ibse$1@dont-email.me> <2026Oct14.102517@mips.complang.tuwien.ac.at> <6ad02ef0$1@news.ausics.net> <2026Oct15.075508@mips.complang.tuwien.ac.at>Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.forth Subject: Re: FCONSTANT specification References: <11aide4$1ibse$1@dont-email.me> <2026Oct14.102517@mips.complang.tuwien.ac.at> <6ad02ef0$1@news.ausics.net> <2026Oct15.075508@mips.complang.tuwien.ac.at> From: albert@spenarnc.xs4all.nl X-Newsreader: trn 4.0-test77 (Sep 1, 2010) Originator: albert@cherry.(none) (albert) Message-ID: <nnd$259bc6d7$095e6dc6@c0b8c58c46e9a352> Organization: www.abavia.com Date: Fri, 16 Oct 2026 11:55:02 +0200 Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!peer01.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!abo004.abavia.com!feed.abavia.com!abr001.abavia.com!abp001.abavia.com!reseller!not-for-mail Lines: 34 Injection-Date: Fri, 16 Oct 2026 11:55:02 +0200 Injection-Info: reseller; mail-complaints-to="abuse@abavia.com" X-Received-Bytes: 2222