A float literal beside a used decimal stays a float literal #625
Loading…
Reference in a new issue
No description provided.
Delete branch "rpg-9-o-floattwin-20261023"
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?
A float literal beside a used decimal stays a float literal
rpg_eval.zig(decimalTwin): a decimal constant with the digits of afloat constant is the twin of a decimal literal only when no instruction
names it. A named decimal (
P2 = 2.5) is a literal of its own, soF = 2.5E0 * Pkeeps2.5E0and the float add stays a float add(LEMONADE statement 179: op 47, not 54).
ftwin-float-beside-decimal(dictionary batteryftwin, case c):F = 2.5E0 * P; P2 = 2.5;.Gates