Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: replace modulo operations with truncations where possible (#4329)
# Description ## Problem\* Resolves <!-- Link to GitHub Issue --> ## Summary\* In the vein of #4327. We now replace modulo operations with a power of two with the more specific `Instruction::Truncate`. ## Additional Context ## Documentation\* Check one: - [x] No documentation needed. - [ ] Documentation included in this PR. - [ ] **[Exceptional Case]** Documentation to be submitted in a separate PR. # PR Checklist\* - [x] I have tested the changes locally. - [x] I have formatted the changes with [Prettier](https://prettier.io/) and/or `cargo fmt` on default settings.
- Loading branch information