index
:
ruby.git
master
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_3_3
ruby_3_4
v1_0r
v1_1dev
v1_1r
The Ruby Programming Language
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
lib
/
prime.rb
Age
Commit message (
Expand
)
Author
2020-12-09
[ruby/prime] v0.1.2
Marc-Andre Lafortune
2020-12-09
[ruby/prime] Optimize `Integer#prime?`
Marc-Andre Lafortune
2020-03-06
Improve docs for Prime.{prime_division,int_from_prime_division} (#8)
Marcus Stollsteimer
2020-03-06
[ruby/prime] Fix typo
Marcus Stollsteimer
2020-03-06
[ruby/prime] Improve docs for Prime.include? (#7)
Marcus Stollsteimer
2020-03-06
[ruby/prime] Fix Prime.include?
Jeremy Evans
2019-12-22
[ruby/prime] Bump version
Marc-Andre Lafortune
2019-01-10
proc.c: proc without block
nobu
2018-06-24
lib/prime.rb: remove unused methods
mame
2018-06-02
Promote Prime library to default gems.
hsbt
2017-05-20
prime.rb: remove alias after timeout test
stomar
2017-05-20
lib/prime: Fix primality of some large integers [#13492].
marcandre
2016-10-07
* basictest/test.rb: Adjust spaces in class declarations
hsbt
2016-08-10
* lib/prime.rb: Optimize prime?
marcandre
2015-12-16
Add frozen_string_literal: false for all files
naruse
2015-10-20
* lib/prime.rb: Add basic argument checking to Prime.prime?
marcandre
2015-10-20
* lib/prime.rb: Optimize Integer#prime?
marcandre
2015-06-12
* lib/prime.rb: Return sized enumerators.
marcandre
2015-06-12
* lib/prime.rb: Fix with_object with no block given
marcandre
2015-06-12
* lib/prime.rb: Have with_index accept an offset parameter.
marcandre
2015-06-09
* lib/prime.rb: Simplify and optimize EratosthenesSieve
marcandre
2015-06-09
* lib/prime.rb: Simplify and optimize EratosthenesSieve
marcandre
2015-06-09
* lib/matrix.rb: Simplify and optimize EratosthenesSieve
marcandre
2015-05-22
* lib/matrix.rb: Styling
marcandre
2015-05-22
* lib/prime.rb: Remove obsolete Prime.new
marcandre
2014-12-10
* lib/prime.rb: Remove useless loop and block capture.
marcandre
2014-07-27
* lib/cgi/core.rb: remove unused variables.
hsbt
2014-05-24
prime.rb: fix a grammo
nobu
2014-05-23
add information of incompatibility about Prime.prime? [Bug #7395]
ayumin
2014-05-08
* lib/prime.rb (Prime#prime?): negative numbers can't be primes
ayumin
2013-07-15
* lib/prime.rb (Prime::EratosthenesGenerator,
yugui
2013-06-30
* lib/prime.rb: Corrected a few comments. Patch by @Nullset14.
charliesome
2013-01-13
* lib/irb.rb, lib/prime.rb: Typos in overview
zzak
2011-06-01
* lib/prime.rb: Indent examples enough to appear as code sections.
drbrain
2011-05-19
* lib: revert r31635-r31638 and untabify with expand(1).
nobu
2011-05-18
* lib: Convert tabs to spaces for ruby files per
drbrain
2010-03-20
* lib: fixed typo. a patch by Sho Hashimoto in [ruby-dev:40716].
nobu
2009-10-18
* test/test_prime.rb
yugui
2009-09-13
* lib/prime.rb (EratosthenesGenerator#initialize): call super.
nobu
2009-07-13
* lib/prime.rb (Prime#prime_division): now decomposes
yugui
2009-06-11
* lib/prime.rb: documentation typo fixed. a patch from okkez.
matz
2009-03-06
* {ext,lib,test}/**/*.rb: removed trailing spaces.
nobu
2009-03-03
* lib/prime.rb (Prime::prime?): used to return a wrong answer.
yugui
2008-12-18
* lib/optparse/version.rb: remove variable shadowing to stop
matz
2008-12-10
* enumerator.c (enumerator_next): Fix a typo: s/rewinded/rewound/.
knu
2008-09-04
* lib/prime.rb (Prime::OldCompatibility#each): added compatibility to
yugui
2008-09-03
* lib/mathn.rb (Integer): moved into prime.rb.
yugui