index
:
ruby.git
feature/enumerable-first-with-block
feature/logger-constructor-level
feature/openssl-110-old
feature/openssl-110-v1
feature/openssl-110-v2
feature/openssl-110-v3
fix/git-worktree-detection
fix/openssl-segv-free
fix/openssl-segv-free-just-fix-it
fix/set-sortedset-comparison
ky/ruby_2_7-openssl-2.1.4
master
matchdata-hash-fix
rhe-tools
rmatch-regs-is-never-null
topic/fix-throw-false
topic/iseq-disasm-kwargs
topic/net-http-unstarted-sslsocket
topic/openssl-110
topic/openssl-ccm
topic/openssl-clear-error-queue
topic/openssl-doc
topic/openssl-ecpoint-mul-bug
topic/openssl-fail-read-write-not-started-socket
topic/openssl-get-rid-of-time_t
topic/openssl-inspect
topic/openssl-pkey-ec
topic/re-matchdata-fixes
topic/read-ahead
topic/ripper-unnamed-kwrest
topic/string-expand-improvements
topic/string-integer-overflow
wip-topic/2-power-string-length
wip-topic/dont-check-prototype-arg-support
wip-topic/pack-integer-overflow
wip-topic/signed-integer-overflow
wip-topic/thread-fix-start-with-empty-iseq
wip/cleanup-configure
wip/cleanup-num-macros
work
work2
rhe's working repository
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
lib
/
prime.rb
Commit message (
Expand
)
Author
Age
Files
Lines
*
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