1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/.document
yugui fce093432e * lib/mathn.rb (Integer): moved into prime.rb.
(Prime): ditto.

* lib/prime.rb (Integer): moved from mathn.rb.
  (Integer.each_prime): added.
  (Integer#prime?): added.
  (Prime): moved from mathn.rb.
    Its implmentation was rewritten. see [ruby-dev:35863].
    And patched by Keiju ISHITSUKA <keiju@ishitsuka.com>,
    see [ruby-dev:36128].
  (Prime.new):                     obsolete.
  (Prime.instance):                added.
  (Prime.each):                    added.
  (Prime.int_from_prime_division): added.
  (Prime.prime_division):          added.
  (Prime.prime?):                  added.
    Patch by TOYOFUKU Chikanobu
    <nobu_toyofuku at nifty.com> in [ruby-dev:36067].
  (Prime.cache):                   removed.
  (Prime.primes):                  removed.
  (Prime.primes_so_far):           removed.
  (Prime#int_from_prime_division): added.
  (Prime#prime_division):          added.
  (Prime#prime?):                  added.
  (Prime#primes):                  removed.
  (Prime#primes_so_far):           removed.
  (Prime::PseudoPrmeGenerator):    added.
  (Prime::EratosthenesGenerator):  added.
  (Prime::TrialDivisionGenerator): added.
  (Prime::Generator23):            added.
  (Prime::TrialDivision):          added.
    Extracted from the previous implementation of Prime
    by Keiju ISHITSUKA.
  (Prime::EratosthenesSieve):      added.

* lib/.document (prime.rb): added

* lib/README (prime.rb): added

* test/test_prime.rb: added.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-03 13:57:21 +00:00

107 lines
1.1 KiB
Text

# We only run RDoc on the top-level files in here: we skip
# all the helper stuff in sub-directories
# Eventually, we hope to see...
# *.rb
# But for now
English.rb
Env.rb
README
abbrev.rb
base64.rb
benchmark.rb
cgi
cgi.rb
complex.rb
csv.rb
date
date.rb
date2.rb
debug.rb
delegate.rb
drb
drb.rb
erb.rb
eregex.rb
fileutils.rb
finalize.rb
find.rb
forwardable.rb
ftools.rb
generator.rb
getoptlong.rb
getopts.rb
gserver.rb
importenv.rb
ipaddr.rb
irb
irb.rb
jcode.rb
logger.rb
mailread.rb
mathn.rb
matrix.rb
mkmf.rb
monitor.rb
mutex_m.rb
net
observer.rb
open-uri.rb
open3.rb
optparse
optparse.rb
ostruct.rb
parsearg.rb
parsedate.rb
pathname.rb
ping.rb
pp.rb
prettyprint.rb
prime.rb
profile.rb
profiler.rb
pstore.rb
racc
rational.rb
rdoc.rb
rdoc
readbytes.rb
resolv-replace.rb
resolv.rb
rexml
rinda
rss
rss.rb
rubyunit.rb
runit
scanf.rb
set.rb
shell
shell.rb
shellwords.rb
# TODO: YARV cause error. why ...?
# singleton.rb
soap
sync.rb
tempfile.rb
test
thread.rb
thwait.rb
time.rb
timeout.rb
tmpdir.rb
tracer.rb
tsort.rb
un.rb
uri
uri.rb
weakref.rb
webrick
webrick.rb
wsdl
xmlrpc
xsd
yaml
yaml.rb