Sujet : Re: FP number syntax
De : bl1-thispartdoesnotbelonghere (at) *nospam* gmx.com (Bernd Linsel)
Groupes : comp.lang.forthDate : 01. Jan 2025, 04:42:55
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vl2djv$2etn5$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12
User-Agent : Betterbird (Linux)
On 01.01.25 01:45, dxf wrote:
To support DPL I have >NUMBER increment it for every digit successfully
converted. While most systems today have DPL (?) usage is probably too
diverse to standardize.
It's documented in F83 Annex B (Uncontrolled Reference Words):
DPL -- addr U "d-p-l"
A variable containing the number of places after the
fractional point for input conversion.
It's usually implemented that DPL is reset to -1 when entering >NUMBER,
each successful digit conversion increments it only if it is >= 0, and the first decimal separator encountered changes it from -1 to 0.
-- Bernd Linsel