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

Posted by zzak (Zachary Scott) (Guest)
on 2012-11-19 04:40
(Received via mailing list)
Issue #7395 has been reported by zzak (Zachary Scott).

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

Author: zzak (Zachary Scott)
Status: Open
Priority: Normal
Assignee: yugui (Yuki Sonoda)
Category: lib
Target version: 2.0.0
ruby -v: 2.0.0


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
Posted by usa (Usaku NAKAMURA) (Guest)
on 2012-12-21 14:27
(Received via mailing list)
Issue #7395 has been updated by usa (Usaku NAKAMURA).

Status changed from Open to Assigned


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

Author: zzak (Zachary Scott)
Status: Assigned
Priority: Normal
Assignee: yugui (Yuki Sonoda)
Category: lib
Target version: 2.0.0
ruby -v: 2.0.0


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
Posted by ko1 (Koichi Sasada) (Guest)
on 2013-02-17 11:10
(Received via mailing list)
Issue #7395 has been updated by ko1 (Koichi Sasada).

Subject changed from Negative numbers can't be primes by definition to 
Negative numbers can't be primes by definition
Target version changed from 2.0.0 to 2.1.0


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

Author: zzak (Zachary Scott)
Status: Assigned
Priority: Normal
Assignee: yugui (Yuki Sonoda)
Category: lib
Target version: 2.1.0
ruby -v: 2.0.0


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
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.