Repository navigation
C2: probe the 31+ digit intermediate on the oracle (Part of #4702) - #5502
Merged
Merged
Conversation
… difference (Part of #4702) cobc -std=ibm keeps a 36-digit A * B whole; IBM ARITH(COMPAT) truncates to 30. Probe output quoted in the register entry and pinned by a Docker-gated test. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 18, 2026 16:48
squid-protocol
enabled auto-merge (squash)
October 18, 2026 16:51
Owner
Author
|
No description provided. |
6 of 7 tasks
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.
What
register/C2.mdsaid the 30-digit intermediate cap was "not measured". Measured on the pinned imagegitgalaxy-gnucobol:3(GnuCOBOL 3.1.2,cobc -x -std=ibm), A and BPIC 9(18)= 999999999999999999 (A * B is 36 digits):All exact: the oracle applies no cap and no warning. IBM ARITH(COMPAT) truncates the 36-digit product to 30 digits, so this is a declared difference (status stays DIFFERS). Pinned by
tests/cobol_mainframe/test_oracle_intermediate_cap.py(Docker-gated,EQUIVALENCE_E2E=1). "To settle" now leaves only the z/OS side (Part 2, blocked).Burned estates: none reaches a 31+ digit intermediate (per the entry's det sweep), so no proof is affected.
Gates
register.py --checkok;audit_check.pyall clear; new test passes with plainpytestfrom/tmp.Sibling gaps
None new in a burned estate. C5 (ARITH(EXTEND) stop) already covered; z/OS side of C2 is Part 2.
Checklist: done [c:a6529073]
🤖 Generated with Claude Code