summaryrefslogtreecommitdiff
path: root/lib/prime.rb
Commit message (Expand)AuthorAgeFilesLines
* * lib: fixed typo. a patch by Sho Hashimoto in [ruby-dev:40716].nobu2010-03-201-1/+1
* * test/test_prime.rbyugui2009-10-181-19/+43
* * lib/prime.rb (EratosthenesGenerator#initialize): call super.nobu2009-09-131-2/+5
* * lib/prime.rb (Prime#prime_division): now decomposesyugui2009-07-131-1/+6
* * lib/prime.rb: documentation typo fixed. a patch from okkez.matz2009-06-111-2/+2
* * {ext,lib,test}/**/*.rb: removed trailing spaces.nobu2009-03-061-28/+28
* * lib/prime.rb (Prime::prime?): used to return a wrong answer.yugui2009-03-031-0/+2
* * lib/optparse/version.rb: remove variable shadowing to stopmatz2008-12-181-2/+2
* * enumerator.c (enumerator_next): Fix a typo: s/rewinded/rewound/.knu2008-12-101-1/+1
* * lib/prime.rb (Prime::OldCompatibility#each): added compatibility toyugui2008-09-041-20/+35
* * lib/mathn.rb (Integer): moved into prime.rb.yugui2008-09-031-0/+446