Project

General

Profile

Actions

Bug #1243

closed

1 is prime

Added by yugui (Yuki Sonoda) about 15 years ago. Updated almost 13 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 1.9.1p0 (2009-02-22 revision 22551) [i386-darwin9.6.0]
Backport:
[ruby-core:22646]

Description

=begin
Prime.prime? always returns true for n < 2
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0