Skip to content
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

added a file for multiplication by Russian Peasant Algorithm #79

Merged
merged 1 commit into from
Oct 8, 2019
Merged

added a file for multiplication by Russian Peasant Algorithm #79

merged 1 commit into from
Oct 8, 2019

Conversation

Architjain128
Copy link
Contributor

I have added a program which uses Russian peasant algorithm to find product of two numbers.
in this we double one number and cut other in half using bit wise operator and add them up until second number become 1, then add up the number in the first column to get the answer.

@gouravthakur39 gouravthakur39 merged commit 8263727 into gouravthakur39:master Oct 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants