Actions
Feature #11578
closedAdd a method to check if a number is probably prime or composite (Patch included)
Feature #11578:
Add a method to check if a number is probably prime or composite (Patch included)
[ruby-core:<unknown>]
Description
Added a method to check if a given n is probably prime or composite using Miller- Rabin Test. This method is faster that the sieve method to check for an arbitrary n. Please review my pull request.
Files
Actions