Sujet : Re: "The Best Programming Language for the End of the World"
De : sjack (at) *nospam* dontemail.me (sjack)
Groupes : comp.lang.forthDate : 11. Apr 2025, 14:39:32
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vtb62k$1ni2k$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11
User-Agent : tin/2.6.4-20240224 ("Banff") (Linux/6.8.0-57-generic (x86_64))
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.
-- me