| Commit message (Expand) | Author | Age | Files | Lines |
* | * random.c (random_s_rand, Init_Random): Random.rand should behave as | mrkn | 2011-04-24 | 1 | -74/+102 |
* | * random.c (rb_f_srand): fix rdoc: srand(0)'s 0 is a seed. | naruse | 2011-04-20 | 1 | -2/+2 |
* | * random.c (random_rand): suppress a warning. | nobu | 2011-01-05 | 1 | -1/+1 |
* | * random.c: parenthesize macro arguments. | akr | 2010-12-25 | 1 | -4/+4 |
* | * random.c (random_rand): get rid of overflow. | nobu | 2010-11-20 | 1 | -4/+19 |
* | * random.c (rand_init): This checks the value is in 32bit or not, | naruse | 2010-10-04 | 1 | -1/+1 |
* | * random.c (rand_init): remove useless assignment. | naruse | 2010-10-04 | 1 | -2/+2 |
* | * random.c (rb_genrand_ulong_limited): renamed from | naruse | 2010-09-10 | 1 | -3/+8 |
* | * random.c (rb_random_int32): suppress warning on LP64 platforms. | nobu | 2010-08-26 | 1 | -1/+1 |
* | * array.c (rb_ary_{shuffle_bang,sample}): use Random class object. | nobu | 2010-08-25 | 1 | -6/+24 |
* | reverted to r29091; r29092 breaks test-all | shyouhei | 2010-08-25 | 1 | -24/+6 |
* | * random.c (rb_random_int32): fixed typo. | nobu | 2010-08-25 | 1 | -1/+1 |
* | * random.c (rb_random_real): check the range of result. | nobu | 2010-08-25 | 1 | -2/+12 |
* | * array.c (rb_ary_{shuffle_bang,sample}): use Random class object. | nobu | 2010-08-25 | 1 | -4/+12 |
* | * array.c (rb_ary_shuffle_bang, rb_ary_sample): add optional | nobu | 2010-08-23 | 1 | -5/+30 |
* | * random.c (Init_Random): add Random::DEFAULT. | nobu | 2010-08-03 | 1 | -1/+8 |
* | * class.c, compile.c, dir.c, file.c, iseq.c, parse.y, random.c: | naruse | 2010-07-27 | 1 | -1/+1 |
* | * random.c (DEFAULT_SEED_LEN): suppress a warning. | nobu | 2010-07-19 | 1 | -1/+1 |
* | * include/ruby/ruby.h (rb_data_type_t): restructured. [ruby-dev:41862] | nobu | 2010-07-18 | 1 | -3/+5 |
* | * process.c (rb_fork_err): suppress gcc 4.4 warnings. | nobu | 2010-07-13 | 1 | -1/+3 |
* | * random.c (random_rand): add the result of random to the | nobu | 2010-05-26 | 1 | -1/+1 |
* | * random.c (random_rand): subtraction method of non-numeric can | nobu | 2010-05-26 | 1 | -3/+7 |
* | * array.c: Documentation: change => in call-seq to ->. | marcandre | 2010-05-17 | 1 | -6/+6 |
* | * random.c (make_seed_value): fix leading-zero-guard condition on | nobu | 2010-04-13 | 1 | -2/+9 |
* | * random.c (rand_init): use the absolute value of seed to | akr | 2010-04-12 | 1 | -0/+2 |
* | * random.c (rand_init): ignore higher bits if all they are same as | nobu | 2010-04-07 | 1 | -2/+6 |
* | fix rdoc. see r26808 | kazu | 2010-04-03 | 1 | -1/+1 |
* | * random.c (random_rand): raise ArgumentError on nil, as the | nobu | 2010-04-03 | 1 | -3/+2 |
* | * random.c: change include order; ruby.h should be at first. | naruse | 2010-03-29 | 1 | -22/+23 |
* | * random.c (default_rand): removed initial buffer. | nobu | 2010-03-15 | 1 | -25/+34 |
* | * random.c (next_state): no initialization here. | nobu | 2010-03-15 | 1 | -23/+17 |
* | * random.c (rb_reset_random_seed): set seed in this. [ruby-core:28655] | naruse | 2010-03-15 | 1 | -6/+22 |
* | fix rdoc. | akr | 2010-03-03 | 1 | -1/+1 |
* | * random.c (fill_random_seed): don't use O_NOFOLLOW because | akr | 2010-02-05 | 1 | -3/+0 |
* | * random.c (rb_hash_start): moved from string.c. | nobu | 2009-11-03 | 1 | -9/+37 |
* | fix typos. | akr | 2009-11-03 | 1 | -1/+1 |
* | * include/ruby/ruby.h (rb_data_type_struct): constified dsize. | nobu | 2009-09-09 | 1 | -1/+1 |
* | * random.c (random_rand): fixed rdoc. [ruby-core:25332] | nobu | 2009-09-03 | 1 | -1/+1 |
* | * random.c (random_rand): random integer can be a fixnum for | nobu | 2009-08-27 | 1 | -1/+1 |
* | * random.c (random_rand): refined error message. | nobu | 2009-08-26 | 1 | -9/+20 |
* | * random.c (random_rand): fixed for edge cases of ranges. | nobu | 2009-08-26 | 1 | -3/+7 |
* | * random.c (random_rand): unified random_int and random_float. | nobu | 2009-08-26 | 1 | -72/+156 |
* | * random.c (rand_init, random_load): use already defined macro. | nobu | 2009-08-25 | 1 | -7/+7 |
* | * random.c (rb_random_int): arguments have to be converted to | nobu | 2009-08-02 | 1 | -2/+3 |
* | * random.c (rand_int): prevent from GC. | nobu | 2009-08-02 | 1 | -12/+17 |
* | * random.c (random_float): rejects Infinity and NaN. | nobu | 2009-08-01 | 1 | -0/+6 |
* | * random.c (init_genrand): ensure invariant of mt->next and mt->left. | mame | 2009-07-30 | 1 | -1/+1 |
* | * random.c (random_bytes): use NUM2LONG instead of FIX2LONG because | mame | 2009-07-30 | 1 | -1/+1 |
* | * random.c (random_{state,left}): internal/debug use. | nobu | 2009-07-22 | 1 | -4/+8 |
* | * random.c (rand_init): array length of random seed was broken, which | mame | 2009-07-21 | 1 | -4/+2 |