/ dpl /
DPL ( -- addr )
DPL is a variable. The cell at addr describes the location of last
punctuation mark in the number most recently converted by the system.
(The word >NUMBER does not affect DPL, but more high-level number
conversion words do.) If the value at addr is negative, the number
was unpunctuated. If it is non-negative, it represents the number
of digits to the right of the last (rightmost) punctuation character.
wide; DPL is mentioned in Forth-83 as a uncontrolled reference word
and may be found in many systems.
This definition explains why in Forth numbers with the decimal point
are double numbers: the decimal point is reserved for use in
fixed-point math packages; DPL is also meant to be used there.
- page written by:
generated Wed Jul 23 02:53:34 2003mlg