Skip to content

Added checked_add/sub methods to MemoryAddress#18

Merged
jounathaen merged 1 commit intohermit-os:masterfrom
an-owl:checked-ops
Nov 12, 2025
Merged

Added checked_add/sub methods to MemoryAddress#18
jounathaen merged 1 commit intohermit-os:masterfrom
an-owl:checked-ops

Conversation

@an-owl
Copy link
Contributor

@an-owl an-owl commented Nov 12, 2025

This enables arithmetic which catches non-canonical results and overflows.

@jounathaen
Copy link
Member

Very nice. Thank you!

@jounathaen jounathaen merged commit 7fdd109 into hermit-os:master Nov 12, 2025
5 checks passed
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.

2 participants