Repository navigation
HFP: IEEE conversion in the det runtime, held bit for bit to the model (Part of #4271) - #5720
Merged
Merged
Conversation
…l (Part of #4271) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
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 10:06
Contributor
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.
Part of #4271. Checklist: partial [c:ff93cc35] -- the proof against captured z/OS outputs (#4050; no
zos-runcapture exists, capturing is out of scope).What
det/hfp.pyalready modelled IEEE binary32/64 <-> HFP (#5708, #5713). The det runtime had no mirror. This addsHfp.ieeeValue,fromIeee,toIeeetocobolrt/Hfp.java(binary64 exact in long HFP; binary32 truncated to long then rounded to short, ASSUMED; HFP to IEEE nearest, ties to even; NaN / infinity / subnormal / out of range refused by name), withstorefactored through a sharedimage().test_det_hfp.py's bit-for-bit Probe now also compares the runtime with the model over IBM's examples, 0.1, both range edges, the refusals and 80 random patterns, plus 17 HFP images to IEEE. RuleRT-HFP-IEEE-CONVERSION(ASSUMED) added tocobolrt_rules.json; C6.md updated.Evidence
cobolrt_rules.py --checkconsistent;audit_check.pyclear;pr_gates --fast6/6.det_port.py checkmoved 18 ports (Hfp.java text only); re-proved: 17 PROVED.mortgage-mpmtstays JAVA FAILED / KNOWN_UNPROVEN for its two documented holes (float**, FUNCTION ANNUITY), unchanged.Sibling gaps
**and FUNCTION ANNUITY refused (EPSMPMT, DBB MortgageApplication): wait on z/OS captures (Captured mainframe outputs as the equivalence oracle (beside GnuCOBOL) #4050).Hfp.javacopies undertests/cics_crucible/ports/{pc-return-immediate/PCIMMA,pc-wizard/PCCONF}/overlayalready differ from source; untouched.Lessons for agents
cobolrt_rules.json, and anycobolrtedit moves every port carrying that class (18 here): rundet_port.py checkthen re-prove the listed ports.🤖 Generated with Claude Code