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

ValueError: 25 and 34792481337 cannot be paired #2

Open
shardator opened this issue Mar 9, 2021 · 1 comment
Open

ValueError: 25 and 34792481337 cannot be paired #2

shardator opened this issue Mar 9, 2021 · 1 comment

Comments

@shardator
Copy link

Hi,

Well, it looks like the logic is broken.

ValueError: 25 and 34792481337 cannot be paired

Thanks,
Gergely

@shardator
Copy link
Author

Well, I fixed it using an integer sqrt algo found on stack overflow. It is not bad, and works for 512 bit (well, actually any) numbers.

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

No branches or pull requests

1 participant