-
-
Notifications
You must be signed in to change notification settings - Fork 46.6k
feat(maths): add function to perform calculation #6602
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
feat(maths): add function to perform calculation #6602
Conversation
- Add single function to calculate sum of two positive numbers using bitwise operator
for more information, see https://pre-commit.ci
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.
@tianyizheng02 Pinging for review. Looks mostly good to me
Correction. This algorithm should be in the |
Co-authored-by: Caeden Perelli-Harris <[email protected]>
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.
@CaedenPH Since we can't expect the author to respond to this PR anymore, I'll just accept this (fixed) PR and open a new PR to move this file to the correct directory myself.
* feat(maths): add function to perform calculation - Add single function to calculate sum of two positive numbers using bitwise operator * docs: add wikipedia url as explanation * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Apply suggestions from code review Co-authored-by: Caeden Perelli-Harris <[email protected]> * Update sum_of_two_positive_numbers_bitwise.py * Update sum_of_two_positive_numbers_bitwise.py * Update sum_of_two_positive_numbers_bitwise.py --------- Co-authored-by: Okza Pradhana <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Tianyi Zheng <[email protected]> Co-authored-by: Caeden Perelli-Harris <[email protected]>
Describe your change:
Checklist:
Fixes: #{$ISSUE_NO}
.