-
Notifications
You must be signed in to change notification settings - Fork 210
Signed functions for felts and sqrt #1150
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 30 commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
e3f91fd
Add arbitrary function
MegaRedHand 3361cc9
Update tests
MegaRedHand b3c9e7f
Fix: remove arbitrary feature for BigInt
MegaRedHand 259d938
Fix: construction tests shouldn't receive felt
MegaRedHand e8355e7
Fix: lower part was capped by PH instead of PL
MegaRedHand d39d10e
Impl `Arbitrary` for `FeltBigInt` and `Felt252`
MegaRedHand 1570caa
Merge branch 'main' into arbitrary-felts
MegaRedHand 2c49b86
Merge branch 'main' into arbitrary-felts
MegaRedHand d626f14
WIP abs
mfachal 7f06acd
WIP abs proptests
mfachal d4909f0
WIP: signed tests don't contradict implementation
mfachal 391d522
signed functions and sqrt
mfachal 357b2cd
Uncomment + fix sqrt impl
fmoletta 4c94d0b
Fix sqrt_is_inv_square test
fmoletta 9af72f5
Remove sqrt implementation from FeltBigInt
fmoletta b7b5d81
Remove sqrt fn from src/math_utils.rs
fmoletta e0975c7
Merge branch 'main' of github.com:lambdaclass/cairo-rs into arbitrary…
fmoletta 3cc0d77
Restore proptest after merge
fmoletta 4460c28
Restore merge changes
fmoletta f9ad7a6
Remove now useless line from find_element hint
fmoletta ff51e0b
Remove now useless lines from search_sorted_lower hint
fmoletta 73070eb
Restore line, remove test
fmoletta 32874f3
Update to_signed_felt
fmoletta 0aa9999
Fix is_positive hint implementation
fmoletta c6e8377
Clippy
fmoletta 22b9a0f
Add changelog entry
fmoletta a254201
Remove pub
fmoletta 6265530
Remove redundant check
fmoletta 95877d1
Restore fmt
fmoletta a3f07cd
Merge branch 'main' into arbitrary-felts-sqrt-and-proptests
fmoletta 1d8dd0b
Fix sqrt proptest
fmoletta 85ed0dc
Merge branch 'arbitrary-felts-sqrt-and-proptests' of github.com:lambd…
fmoletta ab1ad00
Merge branch 'main' into arbitrary-felts-sqrt-and-proptests
pefontana ddfd395
Fix SquareRoot hint
fmoletta d2bd6d0
Merge branch 'arbitrary-felts-sqrt-and-proptests' of github.com:lambd…
fmoletta 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
Oops, something went wrong.
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.