lprimeroo / DSA

Implementations of various data structures and algorithms.
MIT License
104 stars 179 forks source link

Primality testing #105

Closed reckoner-david closed 7 years ago

reckoner-david commented 7 years ago

Miller Rabbin primality testig code. The test is approximate but the code is set to work for all integers upto the range of 10^18.

lprimeroo commented 7 years ago

Please edit the README file accordingly :)

reckoner-david commented 7 years ago

@saru95 I will be making a pull request that makes a change in the readme for all the PR's I have submitted.