summaryrefslogtreecommitdiff
path: root/lib/prime.rb
AgeCommit message (Expand)Author
2019-12-22[ruby/prime] Bump versionMarc-Andre Lafortune
2019-01-10proc.c: proc without blocknobu
2018-06-24lib/prime.rb: remove unused methodsmame
2018-06-02Promote Prime library to default gems.hsbt
2017-05-20prime.rb: remove alias after timeout teststomar
2017-05-20lib/prime: Fix primality of some large integers [#13492].marcandre
2016-10-07* basictest/test.rb: Adjust spaces in class declarationshsbt
2016-08-10* lib/prime.rb: Optimize prime?marcandre
2015-12-16Add frozen_string_literal: false for all filesnaruse
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 givenmarcandre
2015-06-12* lib/prime.rb: Have with_index accept an offset parameter.marcandre
2015-06-09* lib/prime.rb: Simplify and optimize EratosthenesSievemarcandre
2015-06-09* lib/prime.rb: Simplify and optimize EratosthenesSievemarcandre
2015-06-09* lib/matrix.rb: Simplify and optimize EratosthenesSievemarcandre
2015-05-22* lib/matrix.rb: Stylingmarcandre
2015-05-22* lib/prime.rb: Remove obsolete Prime.newmarcandre
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-24prime.rb: fix a grammonobu
2014-05-23add information of incompatibility about Prime.prime? [Bug #7395]ayumin
2014-05-08* lib/prime.rb (Prime#prime?): negative numbers can't be primesayumin
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 overviewzzak
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 perdrbrain
2010-03-20* lib: fixed typo. a patch by Sho Hashimoto in [ruby-dev:40716].nobu
2009-10-18* test/test_prime.rbyugui
2009-09-13* lib/prime.rb (EratosthenesGenerator#initialize): call super.nobu
2009-07-13* lib/prime.rb (Prime#prime_division): now decomposesyugui
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 stopmatz
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 toyugui
2008-09-03* lib/mathn.rb (Integer): moved into prime.rb.yugui