Skip to content

Conversation

@Heitor-Santos
Copy link

I just used a couple of shifts and log :)

@Prime-5
Copy link
Owner

Prime-5 commented Oct 18, 2019

Hey @Heitor-Santos
It's a good approach, but not foolproof. It worked for little numbers, but when I tried a=51 and b=32, it faulted.
So either document the error (if its related to the size of integer or something), or work a turnaround if possible.

I would like to add this method, thanks for the PR!

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.

2 participants