index
:
delta/ruby.git
5a1dfb04bc2
KEIJU
KOSAKO
RUBY
SER
SHIGEO
SPCOLTRIN
baserock/GENIVI/G-1.2
baserock/liw/sam/chef
baserock/morph/ruby_1_8_7
baserock/morph/ruby_1_9_3
baserock/ps/proto-web-system
baserock/ruby_1_9_3
baserock/ruby_2_0_0
baserock/ruby_2_1
baserock/v1_9_3_194-bootstrap
bundler
c65f10304f
copy_file_range_bug
dependabot/bundler/spec/mspec/rake-12.3.3
half-baked-1.9
master
matzruby
maximecb-patch-1
maximecb-patch-2
mvm
new_gc
revert-2779-news-for-module-name
rexml_adds_tests
ricsin
ruby_1_3
ruby_1_4
ruby_1_6
ruby_1_8
ruby_1_8_5
ruby_1_8_6
ruby_1_8_7
ruby_1_9_1
ruby_1_9_2
ruby_1_9_3
ruby_2_0_0
ruby_2_1
ruby_2_2
ruby_2_3
ruby_2_4
ruby_2_5
ruby_2_6
ruby_2_7
ruby_3_0
ruby_3_1
ruby_3_2
ruby_m17n
scheduler-process-wait
testunit
thread_inspect
trunk
unlabeled-1.1.1
unlabeled-1.39.2
v1_0r
v1_1dev
v1_1r
win32-unicode-test
yuki24-patch-1
github.com: ruby/ruby.git
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
lib
/
prime.rb
Commit message (
Expand
)
Author
Age
Files
Lines
*
Improve docs for Prime.{prime_division,int_from_prime_division} (#8)
Marcus Stollsteimer
2020-03-06
1
-18
/
+29
*
[ruby/prime] Fix typo
Marcus Stollsteimer
2020-03-06
1
-1
/
+1
*
[ruby/prime] Improve docs for Prime.include? (#7)
Marcus Stollsteimer
2020-03-06
1
-1
/
+2
*
[ruby/prime] Fix Prime.include?
Jeremy Evans
2020-03-06
1
-0
/
+12
*
[ruby/prime] Bump version
Marc-Andre Lafortune
2019-12-22
1
-1
/
+1
*
proc.c: proc without block
nobu
2019-01-10
1
-3
/
+3
*
lib/prime.rb: remove unused methods
mame
2018-06-24
1
-7
/
+0
*
Promote Prime library to default gems.
hsbt
2018-06-02
1
-0
/
+3
*
prime.rb: remove alias after timeout test
stomar
2017-05-20
1
-1
/
+1
*
lib/prime: Fix primality of some large integers [#13492].
marcandre
2017-05-20
1
-2
/
+2
*
* basictest/test.rb: Adjust spaces in class declarations
hsbt
2016-10-07
1
-2
/
+2
*
* lib/prime.rb: Optimize prime?
marcandre
2016-08-10
1
-5
/
+6
*
Add frozen_string_literal: false for all files
naruse
2015-12-16
1
-0
/
+1
*
* lib/prime.rb: Add basic argument checking to Prime.prime?
marcandre
2015-10-20
1
-0
/
+2
*
* lib/prime.rb: Optimize Integer#prime?
marcandre
2015-10-20
1
-1
/
+8
*
* lib/prime.rb: Return sized enumerators.
marcandre
2015-06-12
1
-2
/
+6
*
* lib/prime.rb: Fix with_object with no block given
marcandre
2015-06-12
1
-1
/
+1
*
* lib/prime.rb: Have with_index accept an offset parameter.
marcandre
2015-06-12
1
-1
/
+9
*
* lib/prime.rb: Simplify and optimize EratosthenesSieve
marcandre
2015-06-09
1
-3
/
+2
*
* lib/prime.rb: Simplify and optimize EratosthenesSieve
marcandre
2015-06-09
1
-3
/
+4
*
* lib/matrix.rb: Simplify and optimize EratosthenesSieve
marcandre
2015-06-09
1
-5
/
+2
*
* lib/matrix.rb: Styling
marcandre
2015-05-22
1
-6
/
+6
*
* lib/prime.rb: Remove obsolete Prime.new
marcandre
2015-05-22
1
-41
/
+1
*
* lib/prime.rb: Remove useless loop and block capture.
marcandre
2014-12-10
1
-16
/
+14
*
* lib/cgi/core.rb: remove unused variables.
hsbt
2014-07-27
1
-1
/
+1
*
prime.rb: fix a grammo
nobu
2014-05-24
1
-1
/
+1
*
add information of incompatibility about Prime.prime? [Bug #7395]
ayumin
2014-05-23
1
-2
/
+2
*
* lib/prime.rb (Prime#prime?): negative numbers can't be primes
ayumin
2014-05-08
1
-1
/
+0
*
* lib/prime.rb (Prime::EratosthenesGenerator,
yugui
2013-07-15
1
-56
/
+37
*
* lib/prime.rb: Corrected a few comments. Patch by @Nullset14.
charliesome
2013-06-30
1
-18
/
+18
*
* lib/irb.rb, lib/prime.rb: Typos in overview
zzak
2013-01-13
1
-1
/
+1
*
* lib/prime.rb: Indent examples enough to appear as code sections.
drbrain
2011-06-01
1
-18
/
+32
*
* lib: revert r31635-r31638 and untabify with expand(1).
nobu
2011-05-19
1
-334
/
+334
*
* lib: Convert tabs to spaces for ruby files per
drbrain
2011-05-18
1
-337
/
+337
*
* lib: fixed typo. a patch by Sho Hashimoto in [ruby-dev:40716].
nobu
2010-03-20
1
-1
/
+1
*
* test/test_prime.rb
yugui
2009-10-18
1
-19
/
+43
*
* lib/prime.rb (EratosthenesGenerator#initialize): call super.
nobu
2009-09-13
1
-2
/
+5
*
* lib/prime.rb (Prime#prime_division): now decomposes
yugui
2009-07-13
1
-1
/
+6
*
* lib/prime.rb: documentation typo fixed. a patch from okkez.
matz
2009-06-11
1
-2
/
+2
*
* {ext,lib,test}/**/*.rb: removed trailing spaces.
nobu
2009-03-06
1
-28
/
+28
*
* lib/prime.rb (Prime::prime?): used to return a wrong answer.
yugui
2009-03-03
1
-0
/
+2
*
* lib/optparse/version.rb: remove variable shadowing to stop
matz
2008-12-18
1
-2
/
+2
*
* enumerator.c (enumerator_next): Fix a typo: s/rewinded/rewound/.
knu
2008-12-10
1
-1
/
+1
*
* lib/prime.rb (Prime::OldCompatibility#each): added compatibility to
yugui
2008-09-04
1
-20
/
+35
*
* lib/mathn.rb (Integer): moved into prime.rb.
yugui
2008-09-03
1
-0
/
+446