Skip to content

Conversation

@obrienliam97
Copy link

I implemented the is_probable_prime function. I used the Solovay–Strassen primality test which gave an an accuracy of (1-2^-certainty) * 100%. To implement the function the way the algorithim requied, I had to make my own BigInt random number generator. I also made some test cases in the testing section of this project.

…ssen primality test which gave an an accuracy of (1-2^-certainty) * 100%. To implement the function the way the algorithim requied, I had to make my own BigInt random number generator. I also made some test cases in the testing section of this project.
@lgtm-com
Copy link

lgtm-com bot commented Dec 9, 2019

This pull request introduces 1 alert when merging 6a0ef47 into 59f7cad - view on LGTM.com

new alerts:

  • 1 for Comparison result is always the same

@lgtm-com
Copy link

lgtm-com bot commented Dec 10, 2019

This pull request introduces 1 alert when merging 4137c49 into 59f7cad - view on LGTM.com

new alerts:

  • 1 for Comparison result is always the same

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.

1 participant