A quotient's divisor takes the decimal positions that the edit mask proves #658
Loading…
Reference in a new issue
No description provided.
Delete branch "rpg-9-aw-quotient-scale-20261029"
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 quotient's divisor takes the decimal positions that the edit mask proves
%editc(I / c : 'J')of an integer I divides at 63 digits: the dividend isrescaled by S1 before (
61 63 S1 0) and the quotient by S2 after(
61 30 S2 0), so the value has S1 + S2 - s decimals for a literal c of spositions. The pool keys c by its digits only, so the literal was written as
100?(object_lacks_positions). The edit mask of the%EDITCholds thevalue's decimals V (since the previous change), so s = S1 + S2 - V when the
divisor is the only literal of the value and the dividend is a binary integer
(
86signed or88unsigned conversion, no decimal positions of its own).Public reproduction: ftwin17-x6 (
I / 100) and -x7 (I / 100.0); h-editc3resolves every quotient but statements 44 and 45, whose packed(7:2) and
zoned(5:0) dividends have positions the object does not hold.
Gates