From: nagachaitanya.vellanki@... Date: 2015-10-10T02:33:41+00:00 Subject: [ruby-core:71039] [Ruby trunk - Feature #11578] add a method to check if a number is probably prime or composite Issue #11578 has been updated by NagaChaitanya Vellanki. File 0001-Add-Prime.probably_prime.patch added ---------------------------------------- Feature #11578: add a method to check if a number is probably prime or composite https://bugs.ruby-lang.org/issues/11578#change-54414 * Author: NagaChaitanya Vellanki * Status: Open * Priority: Normal * Assignee: ---------------------------------------- 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/