From: nagachaitanya.vellanki@... Date: 2015-10-16T19:12:25+00:00 Subject: [ruby-core:71097] [Ruby trunk - Feature #11578] Add a method to check if a number is probably prime or composite (Patch included) Issue #11578 has been updated by NagaChaitanya Vellanki. Subject changed from add a method to check if a number is probably prime or composite to Add a method to check if a number is probably prime or composite (Patch included) Assignee set to NagaChaitanya Vellanki ---------------------------------------- Feature #11578: Add a method to check if a number is probably prime or composite (Patch included) https://bugs.ruby-lang.org/issues/11578#change-54463 * Author: NagaChaitanya Vellanki * Status: Open * Priority: Normal * Assignee: NagaChaitanya Vellanki ---------------------------------------- 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. https://github.com/ruby/ruby/pull/1051 ---Files-------------------------------- 0001-Add-Prime.probably_prime.patch (4.46 KB) -- https://bugs.ruby-lang.org/