A packed or zoned dividend takes the divisor positions that another statement proved (touches rpg_eval.zig) #727

Manually merged
binjovi-bot merged 3 commits from l4b-divisor into trunk 2026-11-04 22:46:36 +00:00
Owner

A packed or zoned dividend takes the divisor positions that another statement proved (touches rpg_eval.zig)

%EDITC(p / 100 : 'J') of a packed or zoned field divides by a literal whose
positions the object shows only together with the positions of the field:
the rescale 61 63 s1 0 has s1 = 63 less the digits of the dividend, and the
mask positions V follow p = s - s1 - shift + V. A constant is one source text,
so the positions that an integer dividend proved for it (u / 100, where the
dividend has none) hold in every statement. Ctx.literal_positions keeps that
proof, and decDivisionsAt uses it for a 29 (or 84/85 with the flag)
packed or zoned dividend, refusing when the implied p is outside the digits or
two statements disagree. h-editc3 statements 44 and 45 are recovered. The test
is src/rpg_divisor_scale_test.zig, now listed in src/root.zig.

Gates

{"checks":{"net_statements":0},"census":{"statuses":{"recovered":645,"partial":0,"unresolved":0},"regressions":0,"newly_recovered":0},"golden":"golden floor 173 ceiling 0 <= dump 173/5/0","legend":"current","emit":{"worse":[],"better":1,"newly_clean":0,"clean_delta":0,"base":336,"new":336},"twins":{"groups":485,"recovered":477,"regressions":[],"newly":0},"allgroups":{"regressions":[],"newly":["savf/SC-ILE/EXPERIMENTS/h-editc3/stripped/object.savf 2"],"worse":[]},"full_check":{"exit":0,"seconds":672}}
# A packed or zoned dividend takes the divisor positions that another statement proved (touches rpg_eval.zig) `%EDITC(p / 100 : 'J')` of a packed or zoned field divides by a literal whose positions the object shows only together with the positions of the field: the rescale `61 63 s1 0` has s1 = 63 less the digits of the dividend, and the mask positions V follow p = s - s1 - shift + V. A constant is one source text, so the positions that an integer dividend proved for it (`u / 100`, where the dividend has none) hold in every statement. `Ctx.literal_positions` keeps that proof, and `decDivisionsAt` uses it for a `29` (or `84`/`85` with the flag) packed or zoned dividend, refusing when the implied p is outside the digits or two statements disagree. h-editc3 statements 44 and 45 are recovered. The test is `src/rpg_divisor_scale_test.zig`, now listed in `src/root.zig`. ## Gates ``` {"checks":{"net_statements":0},"census":{"statuses":{"recovered":645,"partial":0,"unresolved":0},"regressions":0,"newly_recovered":0},"golden":"golden floor 173 ceiling 0 <= dump 173/5/0","legend":"current","emit":{"worse":[],"better":1,"newly_clean":0,"clean_delta":0,"base":336,"new":336},"twins":{"groups":485,"recovered":477,"regressions":[],"newly":0},"allgroups":{"regressions":[],"newly":["savf/SC-ILE/EXPERIMENTS/h-editc3/stripped/object.savf 2"],"worse":[]},"full_check":{"exit":0,"seconds":672}} ```
List the decimal positions test of the edit mask in the test root
All checks were successful
binjovi/ci Binjovi completed the frozen plan
4f0d1cbb82
binjovi-bot manually merged commit 712c868e12 into trunk 2026-11-04 22:46:36 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
sean/sourcerer!727
No description provided.