-
Notifications
You must be signed in to change notification settings - Fork 244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add wrapping functions in stdlib and use them in relevant test cases #2725
Conversation
N.b: the CI is failing because signed integer arithmetic is not yet fully supported in noir |
Signed integer PR has been merged in so we can rebase ontop of master |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. I think we can move these functions to methods without much additional work
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets make another PR now to move these functions to methods
Description
Problem*
Some of our unit tests rely on the wrapping behaviour. Before changing the default behaviour (cf. issue #2459), we need to update those test cases with wrapping operations.
Related to #2459
Summary*
Documentation
This PR requires documentation updates when merged.
Additional Context
PR Checklist*
cargo fmt
on default settings.