Skip to content

HFP: IEEE conversions as capture-table ops; drop a vacuous assertion (Part of #4271) - #5713

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

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

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4271.

Checklist: partial [c:ff93cc35] -- proof against captured z/OS outputs waits on #4050 (no zos-run record exists)

What

  • zos_captures/hfp.json: from_ieee / to_ieee ops, 22 ibm-publication records (1, -118.625, 1.5, 100.5, 0 in both sizes; 0.1 in binary64). Hex values hand-derived, then checked against the model (not copied from it).
  • test_hfp_zos_captures.py: the two ops in OPS / compute; the (op, size) matrix test now covers them.
  • test_hfp_ieee.py: the ... or True assertion in the tenth test could never fail; it now pins 0.1 as IBM 4019999999999999, the oracle's binary64 as 401999999999999A, binary32 as 4019999A.
  • C6 register updated.

Gates

  • pytest (plain, from /tmp) on test_hfp_ieee, test_hfp_zos_captures, test_det_hfp: 143 passed.
  • tests/tools/audit_check.py: all clear. No parsing change, no golden bless.

Sibling gaps

EPSMPMT float ** (DBB MortgageApplication, burned) waits on z/OS captures; COMP-5 byte order, NUMPROC(PFD), INTDATE(LILIAN), ARITH(EXTEND) floats stay refused (C5/C7).

🤖 Generated with Claude Code

…(Part of #4271)

Adds from_ieee / to_ieee records to zos_captures/hfp.json and the harness, so a
captured z/OS conversion has a home, and replaces an `or True` assertion in
test_hfp_ieee.py with the real expected images.

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 08:58
@squid-protocol
squid-protocol enabled auto-merge (squash) October 20, 2026 09:11
@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