Skip to content

Fail on multiplication overflow - #349

Merged
dstelzer merged 11 commits into
mainfrom
mult-overflow
Oct 14, 2026
Merged

dstelzer merged 11 commits into
mainfrom
mult-overflow

Conversation

@dstelzer

Copy link
Copy Markdown
Contributor

Fixes #328 .

At least, this fixes it on Z-machine and debugger. The Å-machine will need a spec update.

@dstelzer

Copy link
Copy Markdown
Contributor Author

Marking this unready to merge until the Å-machine version is ready.

@dstelzer
dstelzer marked this pull request as draft August 30, 2026 23:31
@dstelzer

dstelzer commented Sep 9, 2026

Copy link
Copy Markdown
Contributor Author

The Å-machine update will use the same opcode, so Dialog doesn't necessarily need to be updated, but we should bump the Å-machine spec version to ensure the proper behavior.

@dstelzer

dstelzer commented Sep 9, 2026

Copy link
Copy Markdown
Contributor Author

Tests will now fail until the new Å-machine version is live. I'll leave this PR as a draft until then.

@dstelzer
dstelzer marked this pull request as ready for review October 14, 2026 01:56
@dstelzer
dstelzer merged commit f9e8a97 into main Oct 14, 2026
5 checks passed
@dstelzer
dstelzer deleted the mult-overflow branch October 14, 2026 03:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Multiplication overflow should make the predicate fail

1 participant