-
Notifications
You must be signed in to change notification settings - Fork 188
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
Implement Euclid division and remainder #245
Conversation
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.
Hi, and sorry for review silence.
For completeness, can you also add the trivial implementations for BigUint
?
Thanks for the review! I've added commits based on the above requested changes, and the branch is now ready for another review. |
I rebased this and added a couple compat fixes. Otherwise, looks good, thanks! bors r+ |
245: Implement Euclid division and remainder r=cuviper a=jaybosamiya Now that a common trait for this has been sorted out (rust-num/num-traits#159 implemented and merged in rust-num/num-traits#195), we can now close #146 by implementing the trait for `BigInt`s. This commit does just that. Co-authored-by: Jay Bosamiya <[email protected]> Co-authored-by: Josh Stone <[email protected]>
Build failed: |
bors retry |
Build succeeded! The publicly hosted instance of bors-ng is deprecated and will go away soon. If you want to self-host your own instance, instructions are here. If you want to switch to GitHub's built-in merge queue, visit their help page. |
Thanks for rebasing and merging! |
Now that rust-num/num-bigint#245 has been merged, by updating the version of num-bigint used in Verus, we get to remove our custom implementation of these two functions.
Now that rust-num/num-bigint#245 has been merged, by updating the version of num-bigint used in Verus, we get to remove our custom implementation of these two functions.
Now that a common trait for this has been sorted out (rust-num/num-traits#159 implemented and merged in rust-num/num-traits#195), we can now close #146 by implementing the trait for
BigInt
s. This commit does just that.