Skip to content

HFP: capture table pins COMP-2 to COMP-1 rounding and float comparison (Part of #4271, #4050) - #5752

Merged
squid-protocol merged 1 commit into
mainfrom
churn/4271-20261020T1539Z
Oct 20, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/4271-20261020T1539Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Checklist: partial [c:ff93cc35] -- proof against captured z/OS outputs (#4050): no zos-run capture exists and capturing is out of scope

What

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-publication rows, 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

Member Status
encode/add/sub/mul/div/display/fixed/IEEE conversions already in table
COMP-2 to COMP-1 rounding this PR
float comparison this PR
real z/OS capture + ingest open (#4050, owner)

Sibling gaps

Gates

pr_gates --fast 6/6, --ratchets 8/8, hfp tests 179 passed, tree-wide guards passed. No parser change, no golden bless.

🤖 Generated with Claude Code

…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]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 20, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 20, 2026 15:48
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant