Deutsch English Français Italiano |
<7e76f6f1dec1a3bb5a0e8f33eb80089ed47e8e00@i2pn2.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder9.news.weretis.net!i2pn.org!i2pn2.org!.POSTED!not-for-mail From: dxf <dxforth@gmail.com> Newsgroups: comp.lang.forth Subject: Re: "The Best Programming Language for the End of the World" Date: Sat, 12 Apr 2025 00:46:00 +1000 Organization: i2pn2 (i2pn.org) Message-ID: <7e76f6f1dec1a3bb5a0e8f33eb80089ed47e8e00@i2pn2.org> References: <87bjtn2hct.fsf@gmail.com> <2025Apr7.084256@mips.complang.tuwien.ac.at> <c7b8e285289ed63448289ee84d1f5b36eab45557@i2pn2.org> <nnd$52bd8a99$2cfa4611@2813463487325c8d> <05376993a82bd98bd2bb808b6d70d88a0c19891f@i2pn2.org> <cbb106be3daee91e2680165287cd6ca6560245b9@i2pn2.org> <nnd$4e97017c$71179fa7@ab267a929dfc81b6> <vt5rrb$mr2p$1@dont-email.me> <077656b5c422bbcbdf53452c341a0af4700b5fa5@i2pn2.org> <vt8eqq$316s1$1@dont-email.me> <f4cf5fff1a2239f3b7f6e8ccce00969d0925f1e3@i2pn2.org> <vtb62k$1ni2k$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Injection-Date: Fri, 11 Apr 2025 14:46:00 -0000 (UTC) Injection-Info: i2pn2.org; logging-data="4098515"; mail-complaints-to="usenet@i2pn2.org"; posting-account="XPw7UV90Iy7EOhY4YuUXhpdoEf5Vz7K+BsxA/Cx8bVc"; User-Agent: Mozilla Thunderbird In-Reply-To: <vtb62k$1ni2k$1@dont-email.me> Content-Language: en-GB X-Spam-Checker-Version: SpamAssassin 4.0.0 Bytes: 2595 Lines: 24 On 11/04/2025 11:39 pm, sjack wrote: > dxf <dxforth@gmail.com> wrote: >> >> With REPRESENT we're dealing with full-precision numbers being displayed >> in lesser precision. Would 'significant digits plus one' even apply? >> > Unsure what is meant by "full-precision numbers" so the following > reasoning my be off in that respect: > > Floating-point has _potential_ to express a number with _maximum_ of u > significant digits plus one rounded digit. However, in application a > result may have less than the maximum potential significant digits and > should be returned (displayed) with all digits _after the first > non-significant digit_ chopped (or padded with zero's). > > For sure I'm no authority on floating-point numbers. The only thing > I know is what I recall from remedial math in the olden days of light > that one wants a result of u significant digits plus the one rounded > digit. Such form of number is then useful for other floating-point > calculations. I recall IEEE-754 talking about 'correctly rounded' numbers when converting to external representation. This is likely to have been a factor in Intel's decision to use 80-bits internally.