%INT and %INTH of a float expression #623

Manually merged
binjovi-bot merged 1 commit from rpg-9-n-intfloat-20261023 into trunk 2026-10-23 18:42:36 +00:00
Owner

%INT and %INTH of a float expression

  • rpg_eval.zig: operation 81 to 8 bytes (81 8 2) is %INT(value), and
    81 8 1 is %INTH(value). The implicit conversion at an assignment is
    81 4 2 and shows no built-in function (dict flt2). Before, an explicit
    %INT of a float expression was dropped, and the rebuilt twin compiled
    to 81 4 2 instead of 81 8 2; 75 4; 75 4 (LEMONADE statement 180).
  • rpg_source.zig: %INTH is a source word.
  • Probe h-flt2. LEMONADE read-down: 4 statements differ (was 5).

Gates

{"checks":{"net_statements":0},"census":{"statuses":{"recovered":645,"partial":0,"unresolved":0},"regressions":0,"newly_recovered":0},"emit":{"worse":[],"better":1,"newly_clean":1,"clean_delta":1,"base":206,"new":207},"twins":{"groups":423,"recovered":410,"regressions":[],"newly":0},"allgroups":{"regressions":[],"newly":["savf/SC-ILE/EXPERIMENTS/h-flt2/stripped/object.savf 1"],"worse":[]},"full_check":{"exit":0,"seconds":813}}
# %INT and %INTH of a float expression - `rpg_eval.zig`: operation 81 to 8 bytes (`81 8 2`) is `%INT(value)`, and `81 8 1` is `%INTH(value)`. The implicit conversion at an assignment is `81 4 2` and shows no built-in function (dict flt2). Before, an explicit `%INT` of a float expression was dropped, and the rebuilt twin compiled to `81 4 2` instead of `81 8 2; 75 4; 75 4` (LEMONADE statement 180). - `rpg_source.zig`: `%INTH` is a source word. - Probe `h-flt2`. LEMONADE read-down: 4 statements differ (was 5). ## Gates ``` {"checks":{"net_statements":0},"census":{"statuses":{"recovered":645,"partial":0,"unresolved":0},"regressions":0,"newly_recovered":0},"emit":{"worse":[],"better":1,"newly_clean":1,"clean_delta":1,"base":206,"new":207},"twins":{"groups":423,"recovered":410,"regressions":[],"newly":0},"allgroups":{"regressions":[],"newly":["savf/SC-ILE/EXPERIMENTS/h-flt2/stripped/object.savf 1"],"worse":[]},"full_check":{"exit":0,"seconds":813}} ```
%INT and %INTH of a float expression
All checks were successful
binjovi/ci Binjovi completed the frozen plan
31bd40b71f
binjovi-bot manually merged commit 31bd40b71f into trunk 2026-10-23 18:42: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!623
No description provided.