[ruby-core:62486] [ruby-trunk - Bug #7395] Negative numbers can't be primes by definition

From: shibata.hiroshi@...
Date: 2014-05-09 23:44:04 UTC
List: ruby-core #62486
Issue #7395 has been updated by Hiroshi SHIBATA.


> ayumin

this issue seems incompatible changes. it should be add NEWS.

----------------------------------------
Bug #7395: Negative numbers can't be primes by definition
https://bugs.ruby-lang.org/issues/7395#change-46650

* Author: Zachary Scott
* Status: Closed
* Priority: Normal
* Assignee: Yuki Sonoda
* Category: lib
* Target version: current: 2.2.0
* ruby -v: 2.0.0
* Backport: 
----------------------------------------
from github:
https://github.com/ruby/ruby/pull/187

By definition, a prime number can be a positive integer greater than 1.

http://mathworld.wolfram.com/PrimeNumber.html

---Files--------------------------------
prime_refute_negative_numbers.patch (1.16 KB)


-- 
https://bugs.ruby-lang.org/

In This Thread