summaryrefslogtreecommitdiffstats
path: root/random.c
Commit message (Expand)AuthorAgeFilesLines
* * 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
* * random.c (fill_random_seed): needs wincrypt.h.nobu2009-07-181-1/+4
* * random.c (fill_random_seed): use cryptographic service on Windows.nobu2009-07-181-0/+7
* * random.c (DIGSPERINT): fix for LP64.nobu2009-07-171-2/+2
* * random.c (fill_random_seed): /dev/urandom is not available onnobu2009-07-171-2/+8
* * random.c (random_equal): new method Random#==.nobu2009-07-171-0/+21
* * random.c (dump_mt): removed debug function.nobu2009-07-171-14/+0
* * random.c (fill_random_seed): suppress a warning.nobu2009-07-161-1/+1
* * random.c (rb_random_t): objectified. [EXPERIMENTAL]nobu2009-07-161-45/+484
* * random.c (rand_init): use fixed buffer for small numbers.nobu2009-07-111-31/+32
* * random.c (limited_rand): expands to long before shift so thatnobu2009-07-101-2/+2
* * random.c (rand_init): got rid of buffer overflow.nobu2009-07-101-4/+4
* * random.c (struct MT): ruby already assumes int has 32bit atnobu2009-07-101-48/+68
* * random.c (fill_random_seed): enclosed conditionally usednobu2009-03-111-0/+2
* stripped trailing spaces.nobu2009-02-221-9/+9
* * io.c (rb_write_error2, argf_next_argv), process.c (rb_fork_err),nobu2009-02-181-1/+1
* * random.c (rb_f_srand): update RDoc. [ruby-core:21113]matz2009-01-041-1/+1
* * random.c (rb_f_rand): type check simplified. strings are nomatz2008-12-291-35/+17
* * bignum.c (rb_big_mul): faster multiplication by Karatsuba method andmame2008-12-141-0/+10
* * include/ruby/ruby.h (DBL2NUM): renamed from DOUBLE2NUM.matz2008-09-051-2/+2
* * random.c (struct MT): packed Mersenne Twister staffs.nobu2008-08-171-81/+88
* * random.c (Init_RandomSeed2): should be void.nobu2008-06-201-1/+1
* * string.c (rb_memhash): randomize hash to avoid algorithmicakr2008-06-201-16/+60
* * array.c, bignum.c, cont.c, dir.c, dln.c, encoding.c, enumerator.c,ko12008-06-081-1/+1
* * numeric.c (fix_to_s): avoid rb_scan_args() when no argumentmatz2008-03-051-1/+4
* * random.c (limited_big_rand): fix buffer overflow when SIZEOF_BDIGITSakr2008-02-021-6/+10
* * $Date$ keyword removed to avoid inclusion of locale dependentakr2008-01-061-1/+0
* * include/ruby/intern.h, random.c, array.c:akr2007-12-241-2/+14
* * include/ruby/ruby.h: introduce 2 macros:ko12007-11-131-7/+7
* * random.c: update MT URL.[ruby-core:13305].matz2007-11-081-1/+1
* * include/ruby/ruby.h (struct RBignum): embed digits in RBignum forakr2007-09-011-19/+19
* * encoding.c: provide basic features for M17N.matz2007-08-251-1/+1
* * include/ruby: moved public headers.nobu2007-06-101-1/+1