-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: remove auto-gen intermediate files * chore: update .gitignore to specify path for constants.metal file * refactor(tests): enhance bigint addition tests with random number generation for overflow detection - Updated `test_bigint_add_unsafe` to generate random BigInt values that do not overflow during addition. - Modified `test_bigint_add_overflow` to ensure it tests for overflow by generating random BigInt values that do overflow. - Adjusted limb size from 13 to 16 in both tests for consistency and accuracy. - Improved assertions to compare results directly with expected values derived from the generated inputs. * test(bigint): add random number generation for underflow detection * refactor(tests): align limb_size and num_limbs with mont_mul cios optimal limb size * lint
- Loading branch information
Showing
6 changed files
with
125 additions
and
128 deletions.
There are no files selected for viewing
This file contains 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
Binary file removed
BIN
-14.6 KB
mopro-msm/src/msm/metal_msm/shader/bigint/bigint_add_unsafe.metal.ir
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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