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 Rabin Miller primality test code, as well as added tests for it… #87

Merged
merged 1 commit into from
Oct 20, 2017

Conversation

misingnoglic
Copy link
Contributor

@misingnoglic misingnoglic commented Oct 19, 2017

… (no failing tests, just passing tests for now).

#86

… (no failing tests, just passing tests for now).
@codecov-io
Copy link

codecov-io commented Oct 19, 2017

Codecov Report

Merging #87 into master will increase coverage by 0.05%.
The diff coverage is 89.47%.

@@            Coverage Diff             @@
##           master      #87      +/-   ##
==========================================
+ Coverage   87.21%   87.26%   +0.05%     
==========================================
  Files           7        8       +1     
  Lines        1650     1688      +38     
  Branches      300      309       +9     
==========================================
+ Hits         1439     1473      +34     
- Misses        151      153       +2     
- Partials       60       62       +2

@Mego
Copy link
Owner

Mego commented Oct 20, 2017

Excellent! I'll start working on transitioning over to MR for large primes.

@Mego Mego merged commit d465e43 into Mego:master Oct 20, 2017
@Mego
Copy link
Owner

Mego commented Oct 20, 2017

@misingnoglic It seems I prematurely accepted this PR. I meant for the MR implementation to use the deterministic variant that uses specific witnesses to prove primality.

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.

3 participants