summaryrefslogtreecommitdiff
path: root/random.c
AgeCommit message (Expand)Author
2010-05-26* random.c (random_rand): add the result of random to thenobu
2010-05-26* random.c (random_rand): subtraction method of non-numeric cannobu
2010-05-17* array.c: Documentation: change => in call-seq to ->.marcandre
2010-04-13* random.c (make_seed_value): fix leading-zero-guard condition onnobu
2010-04-12* random.c (rand_init): use the absolute value of seed toakr
2010-04-07* random.c (rand_init): ignore higher bits if all they are same asnobu
2010-04-03fix rdoc. see r26808kazu
2010-04-03* random.c (random_rand): raise ArgumentError on nil, as thenobu
2010-03-29* random.c: change include order; ruby.h should be at first.naruse
2010-03-15* random.c (default_rand): removed initial buffer.nobu
2010-03-15* random.c (next_state): no initialization here.nobu
2010-03-15* random.c (rb_reset_random_seed): set seed in this. [ruby-core:28655]naruse
2010-03-03fix rdoc.akr
2010-02-05* random.c (fill_random_seed): don't use O_NOFOLLOW becauseakr
2009-11-03* random.c (rb_hash_start): moved from string.c.nobu
2009-11-03fix typos.akr
2009-09-09* include/ruby/ruby.h (rb_data_type_struct): constified dsize.nobu
2009-09-03* random.c (random_rand): fixed rdoc. [ruby-core:25332]nobu
2009-08-27* random.c (random_rand): random integer can be a fixnum fornobu
2009-08-26* random.c (random_rand): refined error message.nobu
2009-08-26* random.c (random_rand): fixed for edge cases of ranges.nobu
2009-08-26* random.c (random_rand): unified random_int and random_float.nobu
2009-08-25* random.c (rand_init, random_load): use already defined macro.nobu
2009-08-02* random.c (rb_random_int): arguments have to be converted tonobu
2009-08-02* random.c (rand_int): prevent from GC.nobu
2009-08-01* random.c (random_float): rejects Infinity and NaN.nobu
2009-07-30* random.c (init_genrand): ensure invariant of mt->next and mt->left.mame
2009-07-30* random.c (random_bytes): use NUM2LONG instead of FIX2LONG becausemame
2009-07-22* random.c (random_{state,left}): internal/debug use.nobu
2009-07-21* random.c (rand_init): array length of random seed was broken, whichmame
2009-07-18 * random.c: workaround for VC++ 6.0.usa
2009-07-18* random.c (rb_random_{int32,real,bytes,int}): added functions fornobu
2009-07-18* random.c (fill_random_seed): needs wincrypt.h.nobu
2009-07-18* random.c (fill_random_seed): use cryptographic service on Windows.nobu
2009-07-17* random.c (DIGSPERINT): fix for LP64.nobu
2009-07-17* random.c (fill_random_seed): /dev/urandom is not available onnobu
2009-07-17* random.c (random_equal): new method Random#==.nobu
2009-07-17* random.c (dump_mt): removed debug function.nobu
2009-07-16* random.c (fill_random_seed): suppress a warning.nobu
2009-07-16* random.c (rb_random_t): objectified. [EXPERIMENTAL]nobu
2009-07-11* random.c (rand_init): use fixed buffer for small numbers.nobu
2009-07-10* random.c (limited_rand): expands to long before shift so thatnobu
2009-07-10* random.c (rand_init): got rid of buffer overflow.nobu
2009-07-10* random.c (struct MT): ruby already assumes int has 32bit atnobu
2009-03-11* random.c (fill_random_seed): enclosed conditionally usednobu
2009-02-22stripped trailing spaces.nobu
2009-02-18* io.c (rb_write_error2, argf_next_argv), process.c (rb_fork_err),nobu
2009-01-04* random.c (rb_f_srand): update RDoc. [ruby-core:21113]matz
2008-12-29* random.c (rb_f_rand): type check simplified. strings are nomatz
2008-12-14* bignum.c (rb_big_mul): faster multiplication by Karatsuba method andmame