aboutsummaryrefslogtreecommitdiffstats
path: root/random.c
Commit message (Expand)AuthorAgeFilesLines
* * configure.in: check struct timeval exist or not.kosaki2013-03-161-0/+3
* random.c: increase limit for generic randnobu2013-02-241-1/+14
* random.c: fix error messagenobu2013-02-221-0/+4
* * random.c: Document range argument for Kernel#rand.zzak2013-02-031-3/+5
* random.c, rational.c: make marshal methods privatenobu2012-12-031-2/+2
* random.c: BYTE_ORDERnobu2012-11-091-0/+13
* siphashnobu2012-11-091-0/+23
* * include/ruby/ruby.h: add C APIs.nari2012-10-201-2/+1
* random.c: rb_random_ulong_limitednobu2012-10-091-0/+16
* * include/ruby/ruby.h: introduce flonum technique forko12012-08-231-2/+1
* random.c: refine error messagenobu2012-07-201-1/+4
* random.c: check initialize and loadnobu2012-06-221-0/+3
* * random.c (rb_random_int32): get rid of "warning: constant 0x100000000kosaki2012-06-191-1/+1
* obj_init_copynobu2012-06-051-3/+8
* * random.c (random_init): Clarify that the default seed isdrbrain2012-04-191-3/+2
* * include/ruby/intern.h: Add rb_check_arity, rb_error_arity [#6085]marcandre2012-03-141-2/+2
* * random.c (Init_Random): removed rb_Random_DEFAULT and register asnobu2012-03-111-7/+14
* * random.c (random_s_rand): ensure default PRNG is re-initializednobu2012-03-111-0/+1
* * random.c: remove a duplicated comment.mrkn2012-02-181-2/+0
* * process.c (ruby_setsid): use rb_cloexec_open.akr2011-10-291-3/+3
* * include/ruby/intern.h (rb_fd_set_cloexec): declared.akr2011-10-221-1/+1
* * random.c: Improve documentation of Random. Patch by Gregorydrbrain2011-10-051-72/+129
* * random.c (Init_Random): Add a top-level comment for Random. Patchdrbrain2011-10-041-0/+7
* * use RB_TYPE_P which is optimized for constant types, instead ofnobu2011-09-291-2/+2
* * include/ruby/intern.h (rb_update_max_fd): declaration moved fromakr2011-07-201-0/+1
* * random.c: Documentation fix for Random#bytesmarcandre2011-06-271-1/+1
* * remove trailing spaces.nobu2011-05-151-1/+1
* * random.c (random_rand): remove unused variables.naruse2011-04-251-2/+1
* * random.c (rb_f_rand, random_s_rand): RDocs for them.sorah2011-04-241-8/+25
* * random.c (random_s_rand, Init_Random): Random.rand should behave asmrkn2011-04-241-74/+102
* * random.c (rb_f_srand): fix rdoc: srand(0)'s 0 is a seed.naruse2011-04-201-2/+2
* * random.c (random_rand): suppress a warning.nobu2011-01-051-1/+1
* * random.c: parenthesize macro arguments.akr2010-12-251-4/+4
* * random.c (random_rand): get rid of overflow.nobu2010-11-201-4/+19
* * random.c (rand_init): This checks the value is in 32bit or not,naruse2010-10-041-1/+1
* * random.c (rand_init): remove useless assignment.naruse2010-10-041-2/+2
* * random.c (rb_genrand_ulong_limited): renamed fromnaruse2010-09-101-3/+8
* * random.c (rb_random_int32): suppress warning on LP64 platforms.nobu2010-08-261-1/+1
* * array.c (rb_ary_{shuffle_bang,sample}): use Random class object.nobu2010-08-251-6/+24
* reverted to r29091; r29092 breaks test-allshyouhei2010-08-251-24/+6
* * random.c (rb_random_int32): fixed typo.nobu2010-08-251-1/+1
* * random.c (rb_random_real): check the range of result.nobu2010-08-251-2/+12
* * array.c (rb_ary_{shuffle_bang,sample}): use Random class object.nobu2010-08-251-4/+12
* * array.c (rb_ary_shuffle_bang, rb_ary_sample): add optionalnobu2010-08-231-5/+30
* * random.c (Init_Random): add Random::DEFAULT.nobu2010-08-031-1/+8
* * class.c, compile.c, dir.c, file.c, iseq.c, parse.y, random.c:naruse2010-07-271-1/+1
* * random.c (DEFAULT_SEED_LEN): suppress a warning.nobu2010-07-191-1/+1
* * include/ruby/ruby.h (rb_data_type_t): restructured. [ruby-dev:41862]nobu2010-07-181-3/+5
* * process.c (rb_fork_err): suppress gcc 4.4 warnings.nobu2010-07-131-1/+3
* * random.c (random_rand): add the result of random to thenobu2010-05-261-1/+1