summaryrefslogtreecommitdiff
path: root/random.c
AgeCommit message (Expand)Author
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
2008-09-05* include/ruby/ruby.h (DBL2NUM): renamed from DOUBLE2NUM.matz
2008-08-17* random.c (struct MT): packed Mersenne Twister staffs.nobu
2008-06-20* random.c (Init_RandomSeed2): should be void.nobu
2008-06-20* string.c (rb_memhash): randomize hash to avoid algorithmicakr
2008-06-08* array.c, bignum.c, cont.c, dir.c, dln.c, encoding.c, enumerator.c,ko1
2008-03-05* numeric.c (fix_to_s): avoid rb_scan_args() when no argumentmatz
2008-02-02* random.c (limited_big_rand): fix buffer overflow when SIZEOF_BDIGITSakr
2008-01-06* $Date$ keyword removed to avoid inclusion of locale dependentakr
2007-12-24* include/ruby/intern.h, random.c, array.c:akr
2007-11-13* include/ruby/ruby.h: introduce 2 macros:ko1
2007-11-08* random.c: update MT URL.[ruby-core:13305].matz
2007-09-01* include/ruby/ruby.h (struct RBignum): embed digits in RBignum forakr