%DEC of a division, a short target of a trimmed assignment, more edit masks #613

Manually merged
binjovi-bot merged 1 commit from rpg-9-n-dec-expr-20261023 into trunk 2026-10-23 02:42:24 +00:00
Owner

%DEC of a division, a short target of a trimmed assignment, more edit masks

  • rpg_eval.zig: %DEC(a / c: D: P) of a division: the dividend is
    scaled to P positions (61 (10+P) P 0, absent when P is 0) and the
    division gives D digits (56 D 0 0, D under 63); the default precision is
    63 digits with a rescale after it. Measured on h-editc5 (every (D, P)
    pair of the sweep) and h-editc6 (new probes, from the dictionary
    batteries of the loop tooling). The exam's largest open family has this
    shape under %TRIM(%EDITC(...)) into a short field.
  • rpg_trim.zig: the trimmed assignment to a target shorter than the
    source copies min(W, N) bytes (an inserted block with two labels and a
    third temporary); h-editc3 (new probe) statement 30, a char(5) target.
  • rpg_editc.zig: 14 more measured masks (digits 11 with 3 positions, all
    codes; h-editc5, h-editc6).

Gates

{"checks":{"net_statements":0},"census":{"statuses":{"recovered":645,"partial":0,"unresolved":0},"regressions":0,"newly_recovered":0},"emit":{"worse":[],"better":1,"newly_clean":0,"clean_delta":0,"base":203,"new":203},"twins":{"groups":409,"recovered":396,"regressions":[],"newly":3},"allgroups":{"regressions":[],"newly":["savf/SC-CONSTRUCT/TLICR/archive.savf 1"],"worse":[]},"full_check":{"exit":0,"seconds":768}}
# %DEC of a division, a short target of a trimmed assignment, more edit masks - `rpg_eval.zig`: `%DEC(a / c: D: P)` of a division: the dividend is scaled to P positions (`61 (10+P) P 0`, absent when P is 0) and the division gives D digits (`56 D 0 0`, D under 63); the default precision is 63 digits with a rescale after it. Measured on `h-editc5` (every (D, P) pair of the sweep) and `h-editc6` (new probes, from the dictionary batteries of the loop tooling). The exam's largest open family has this shape under `%TRIM(%EDITC(...))` into a short field. - `rpg_trim.zig`: the trimmed assignment to a target shorter than the source copies min(W, N) bytes (an inserted block with two labels and a third temporary); `h-editc3` (new probe) statement 30, a char(5) target. - `rpg_editc.zig`: 14 more measured masks (digits 11 with 3 positions, all codes; `h-editc5`, `h-editc6`). ## Gates ``` {"checks":{"net_statements":0},"census":{"statuses":{"recovered":645,"partial":0,"unresolved":0},"regressions":0,"newly_recovered":0},"emit":{"worse":[],"better":1,"newly_clean":0,"clean_delta":0,"base":203,"new":203},"twins":{"groups":409,"recovered":396,"regressions":[],"newly":3},"allgroups":{"regressions":[],"newly":["savf/SC-CONSTRUCT/TLICR/archive.savf 1"],"worse":[]},"full_check":{"exit":0,"seconds":768}} ```
Recover %DEC of a division, a short trimmed target and the digits-11 edit masks
All checks were successful
binjovi/ci Binjovi completed the frozen plan
2098a15c3f
binjovi-bot manually merged commit 2098a15c3f into trunk 2026-10-23 02:42:24 +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!613
No description provided.