-
Notifications
You must be signed in to change notification settings - Fork 211
feat: Implement hints on field_arithmetic lib (Part 2) #1004
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
Merged
Merged
Changes from all commits
Commits
Show all changes
88 commits
Select commit
Hold shift + click to select a range
ada5a2b
Add hint code for UINT348_UNSIGNED_DIV_REM
fmoletta d1b7e84
Add file for uint348 files
fmoletta c409d01
Add pack & split for uint348
fmoletta 93c6f4e
Move comment
fmoletta 82dbf2b
Implement uint348_unsigned_div_rem hint
fmoletta df9deb2
Add integration test
fmoletta 7b2f5d9
Add integration test
fmoletta b1a3fbb
Add unit tests
fmoletta 110605a
Add hint on split_128
fmoletta 8cc3ce7
Test split_128 hint
fmoletta 378788d
Add add_no_uint384_hint
fmoletta 271a38c
Fix hint + add tests
fmoletta ed7de28
Add hint code for UINT348_UNSIGNED_DIV_REM_EXPAND
fmoletta be408c3
Msc fixes
fmoletta 8c6fb8c
Add integration test
fmoletta 512a80e
Reduce Uint384_expand representation to the 3 used limbs
fmoletta 089398e
Add unit test
fmoletta 6852a87
Add hint code for UINT384_SQRT
fmoletta e3e05be
Add implementation for hint on sqrt
fmoletta faf4765
Integration test
fmoletta d30d404
Add unit tests
fmoletta aa9ce34
Merge branch 'main' of github.com:lambdaclass/cairo-rs into uint348-h…
fmoletta f257b56
Fix missing directive
fmoletta 4218e80
Run cairo-format
fmoletta e1d0100
Add changelog entry
fmoletta 51c7dc3
Spelling
fmoletta f340a3a
Add hint code + Uint768 type
fmoletta 08ebafb
Implement hint unsigned_div_rem_uint768_by_uint384
fmoletta 3f8bdfb
Update src/hint_processor/builtin_hint_processor/uint384.rs
fmoletta 43f3977
Update src/hint_processor/builtin_hint_processor/uint384.rs
fmoletta 0045914
Update src/hint_processor/builtin_hint_processor/uint384.rs
fmoletta 4f89202
Make hint code more readable
fmoletta c4b7f6e
Add integration test
fmoletta f0400b9
Add test
fmoletta a0368e2
Add unit test
fmoletta ce01868
Add changelog entry + fmt
fmoletta bd3214a
Fix plural
fmoletta f6359ad
Merge branch 'uint348-hints' into uint384-hints-extended
fmoletta 96bc852
cargo fmt
fmoletta bf5a22c
Add first draft of get_square_root
fmoletta 1ada5b3
Fix test
fmoletta 764e28a
Fix syntax
fmoletta b259bd0
Fix test
fmoletta ffe9508
Add necessary lib fns
fmoletta 24e06fe
Merge branch 'main' into uint348-hints
fmoletta 6861479
fix fmt
fmoletta 4f094b4
Fix test value
fmoletta 4059972
Merge branch 'uint348-hints' into uint384-hints-extended
fmoletta ec67ecb
Merge branch 'uint384-hints-extended' into field-arithmetic-hints
fmoletta 18011e0
Add test program
fmoletta afe1cca
Add hint to execute_hint
fmoletta 355b836
Fix wrong hint being tested
fmoletta 9c159ef
Implement sqrt
fmoletta 9c5db20
Add test fix file
fmoletta e9982da
Fix _sqrt_mod_tonelli_shanks implementation
fmoletta c3be7b3
Expand integration test
fmoletta 376cd3d
Add unit test
fmoletta 6906494
Add proptests
fmoletta 40ad285
Merge branch 'main' of github.com:lambdaclass/cairo-rs into uint384-h…
fmoletta fee4a04
Fix merge conflict
fmoletta 3284a6d
Fix merge conflict
fmoletta 0032e0a
Merge branch 'uint384-hints-extended' into field-arithmetic-hints
fmoletta b61d958
Add changelog entry
fmoletta fc9573f
Use no-std compatible rng when std is not enabled
fmoletta ed1c58c
Clippy
fmoletta 37bdc30
Use seeded rng instead of from_entropy
fmoletta 03eb74c
Catch potential zero divison errors
fmoletta e1a04e0
Implement hint on div
fmoletta 0ef37db
Expand field_arithmetic integration test
fmoletta b3698ad
Expand field_arithmetic integration test
fmoletta 7b2329a
Add test + fix hint
fmoletta e307630
Merge branch 'main' of github.com:lambdaclass/cairo-rs into field-ari…
fmoletta e9f2ea4
Fix merge conflict
fmoletta 415dab3
Use mul_inv instead of div_mod
fmoletta 75ce158
Add Changelog entry
fmoletta 3f3bd6d
Add unit tests
fmoletta f72a78e
Merge branch 'main' of github.com:lambdaclass/cairo-rs into field-ari…
fmoletta a4670bd
remove unused feature
fmoletta b617b78
Fix test value
fmoletta 188ec9d
Update cairo_programs/field_arithmetic.cairo
fmoletta 7c7ebda
Merge branch 'main' into field-arithmetic-hints-2
fmoletta fa86261
Increase number of memory holes for field_arithmetic test
fmoletta 4c6c1e4
Merge branch 'main' into field-arithmetic-hints-2
fmoletta c942dc6
Merge branch 'main' of github.com:lambdaclass/cairo-rs into field-ari…
fmoletta 77864d1
Merge branch 'field-arithmetic-hints-2' of github.com:lambdaclass/cai…
fmoletta 6048ec2
Merge branch 'main' into field-arithmetic-hints-2
fmoletta 77024e8
Merge branch 'main' into field-arithmetic-hints-2
Oppen 26aaacf
Merge branch 'main' into field-arithmetic-hints-2
Oppen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.