The loads of a decimal literal tell whether its text has a point #684
Loading…
Reference in a new issue
No description provided.
Delete branch "rpg-literal-point-20261101"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The loads of a decimal literal tell whether its text has a point
The creation data keeps the digits of a numeric literal and not its decimal
point. Its loads do:
27 K; 88 Dmakes an integer text a decimal (25),while
27 K; 61 D S 0shifts a text that has a point (2.5,.25) withoutthe conversion (calibration W on ftwin-float-beside-decimal: the same digits
as
25compile with the88). The pool now excludes the texts the loadsrefute, so
P2 = 2.5of a field of 7 digits readspacked(7:2)from the onetype keyword of the pool. ftwin-float-beside-decimal emits
A_00255 = 2.5;with no failure.
Gates