Repository navigation
HFP: capture table pins COMP-2 to COMP-1 rounding and float comparison (Part of #4271, #4050) - #5752
Merged
Merged
Conversation
…n (Part of #4271, #4050) Adds round_short and compare ops to the z/OS capture table and kit: 16 ibm-publication rows (hand-checked against the Principles of Operation, not model output), the emitted COBOL for them, and the C6 register text. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 20, 2026 15:48
Owner
Author
|
No description provided. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Checklist: partial [c:ff93cc35] -- proof against captured z/OS outputs (#4050): no
zos-runcapture exists and capturing is out of scopeWhat
The z/OS capture table (
zos_captures/hfp.json) had no operation for two C6 behaviours, so a first real capture could not check them. Adds:round_short: a long item MOVEd to a COMP-1 (LOAD ROUNDED, half away from zero; carry into the exponent, negative, zero).compare: algebraic float comparison (unnormalized equals normalized, -0 equals +0, last-digit ordering), both sizes.16
ibm-publicationrows, values hand-derived from the Principles of Operation (the model then agrees; none copied from model output). The capture kit emits COBOL for both ops (47 records asked, 28 still SKIPPED by name). C6 register text updated.Class table
Sibling gaps
HFPCAP(owner, Captured mainframe outputs as the equivalence oracle (beside GnuCOBOL) #4050); only DBB EPSMPMT needs it.**(EPSMPMT hole, refused by name).Gates
pr_gates --fast6/6,--ratchets8/8, hfp tests 179 passed, tree-wide guards passed. No parser change, no golden bless.🤖 Generated with Claude Code