summaryrefslogtreecommitdiff
path: root/random.c
Commit message (Expand)AuthorAgeFilesLines
* * 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
* * random.c (random_rand): subtraction method of non-numeric cannobu2010-05-261-3/+7
* * array.c: Documentation: change => in call-seq to ->.marcandre2010-05-171-6/+6
* * random.c (make_seed_value): fix leading-zero-guard condition onnobu2010-04-131-2/+9
* * random.c (rand_init): use the absolute value of seed toakr2010-04-121-0/+2
* * random.c (rand_init): ignore higher bits if all they are same asnobu2010-04-071-2/+6
* fix rdoc. see r26808kazu2010-04-031-1/+1
* * random.c (random_rand): raise ArgumentError on nil, as thenobu2010-04-031-3/+2
* * random.c: change include order; ruby.h should be at first.naruse2010-03-291-22/+23
* * random.c (default_rand): removed initial buffer.nobu2010-03-151-25/+34
* * random.c (next_state): no initialization here.nobu2010-03-151-23/+17
* * random.c (rb_reset_random_seed): set seed in this. [ruby-core:28655]naruse2010-03-151-6/+22
* fix rdoc.akr2010-03-031-1/+1
* * random.c (fill_random_seed): don't use O_NOFOLLOW becauseakr2010-02-051-3/+0
* * random.c (rb_hash_start): moved from string.c.nobu2009-11-031-9/+37
* fix typos.akr2009-11-031-1/+1
* * include/ruby/ruby.h (rb_data_type_struct): constified dsize.nobu2009-09-091-1/+1
* * random.c (random_rand): fixed rdoc. [ruby-core:25332]nobu2009-09-031-1/+1
* * random.c (random_rand): random integer can be a fixnum fornobu2009-08-271-1/+1
* * random.c (random_rand): refined error message.nobu2009-08-261-9/+20
* * random.c (random_rand): fixed for edge cases of ranges.nobu2009-08-261-3/+7
* * random.c (random_rand): unified random_int and random_float.nobu2009-08-261-72/+156
* * random.c (rand_init, random_load): use already defined macro.nobu2009-08-251-7/+7
* * random.c (rb_random_int): arguments have to be converted tonobu2009-08-021-2/+3
* * random.c (rand_int): prevent from GC.nobu2009-08-021-12/+17
* * random.c (random_float): rejects Infinity and NaN.nobu2009-08-011-0/+6
* * random.c (init_genrand): ensure invariant of mt->next and mt->left.mame2009-07-301-1/+1
* * random.c (random_bytes): use NUM2LONG instead of FIX2LONG becausemame2009-07-301-1/+1
* * random.c (random_{state,left}): internal/debug use.nobu2009-07-221-4/+8
* * random.c (rand_init): array length of random seed was broken, whichmame2009-07-211-4/+2
* * random.c: workaround for VC++ 6.0.usa2009-07-181-1/+6
* * random.c (rb_random_{int32,real,bytes,int}): added functions fornobu2009-07-181-4/+25