Sujet : Re: "The Best Programming Language for the End of the World"
De : sjack (at) *nospam* dontemail.me (sjack)
Groupes : comp.lang.forthDate : 10. Apr 2025, 13:50:35
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vt8eqq$316s1$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10
User-Agent : tin/2.6.4-20240224 ("Banff") (Linux/6.8.0-57-generic (x86_64))
dxf <
dxforth@gmail.com> wrote:
What's ambiguous in Forth-94 is the returned representation i.e. should
REPRESENT return '0's representing the insignificant digits; should F.
trim the redundant trailing '0's.
See your point but won't give an opinion as how REPRESENT output
should appear, not my place.
But as a user the wording of REPRESENT, and thus PRECISION and
SET-PRECISION, is a little off. Rounding is mentioned but all the
parameters are stated as significant digits. Don't think
it prevents a user from getting what he wants but could taint
discussion of the result's significance. Is the result all
significant digits or significant digits plus one? Either could be
correct depending on the circumstance and the latter would be
the most often wanted.
-- me