summaryrefslogtreecommitdiff
path: root/random.c
Commit message (Expand)AuthorAgeFilesLines
* * add RUBY_TYPED_FREE_IMMEDIATELY to data types which only useko12013-10-291-0/+1
* * random.c (make_seed_value): a local array declaration was accessedmame2013-10-021-1/+1
* * include/ruby/ruby.h: rename RARRAY_RAWPTR() to RARRAY_CONST_PTR().ko12013-09-251-1/+1
* random.c: coerce before check negativenobu2013-08-131-1/+1
* * random.c (random_load): use RARRAY_RAWPTR() instead ofko12013-08-071-2/+2
* * safe.c (rb_set_safe_level, safe_setter): raise an ArgumentErrorshugo2013-06-121-1/+0
* * random.c (rand_int): Use rb_big_uminus.akr2013-06-111-2/+1
* * internal.h (INTEGER_PACK_NEGATIVE): Defined.akr2013-06-111-5/+5
* * bignum.c (rb_integer_pack): Returns sign instead of words.akr2013-06-101-4/+4
* * bignum.c (rb_absint_numwords): Renamed from rb_absint_size_in_word.akr2013-06-091-2/+2
* * bignum.c (rb_integer_pack): numwords_allocated argument removed.akr2013-06-091-4/+4
* * random.c (limited_big_rand): declare rnd, lim and mask as uint32_tcharliesome2013-06-081-3/+4
* * random.c: Unused RBignum internal accessing macros removed.akr2013-06-081-9/+0
* * random.c (limited_big_rand): The argument, limit, is changed toakr2013-06-081-27/+24
* * random.c (make_seed_value): Fix the length given forakr2013-06-081-1/+1
* * bignum.c (rb_integer_unpack): Don't use rb_funcall if possible.akr2013-06-081-23/+22
* * random.c (rand_init): Add a cast to fix clang compile error:akr2013-06-081-1/+1
* * random.c (rand_init): Use rb_integer_pack.akr2013-06-081-46/+21
* * internal.h (INTEGER_PACK_FORCE_BIGNUM): New flag constant.akr2013-06-081-3/+5
* * random.c (int_pair_to_real_inclusive): Use rb_funcall instead ofakr2013-06-081-1/+1
* * random.c (int_pair_to_real_inclusive): Use rb_integer_pack.akr2013-06-081-15/+5
* * random.c (int_pair_to_real_inclusive): Use rb_integer_unpack.akr2013-06-081-22/+19
* * random.c (random_load): Use rb_integer_pack.akr2013-06-071-44/+3
* * random.c (numberof): Removed.akr2013-06-071-1/+0
* * random.c: include internal.h.akr2013-06-071-17/+4
* * random.c (int_pair_to_real_inclusive): Add a cast to BDIGIT.akr2013-06-051-41/+31
* * gc.c: support RGENGC. [ruby-trunk - Feature #8339]ko12013-05-131-1/+1
* * include/ruby/ruby.h: constify RBasic::klass and addko12013-05-131-1/+1
* * random.c: Document Random::DEFAULT by @eLobato [Fixes GH-304]zzak2013-05-131-0/+1
* * configure.in: check struct timeval exist or not.kosaki2013-03-161-0/+3
* random.c: increase limit for generic randnobu2013-02-241-1/+14
* random.c: fix error messagenobu2013-02-221-0/+4
* * random.c: Document range argument for Kernel#rand.zzak2013-02-031-3/+5
* random.c, rational.c: make marshal methods privatenobu2012-12-031-2/+2
* random.c: BYTE_ORDERnobu2012-11-091-0/+13
* siphashnobu2012-11-091-0/+23
* * include/ruby/ruby.h: add C APIs.nari2012-10-201-2/+1
* random.c: rb_random_ulong_limitednobu2012-10-091-0/+16
* * include/ruby/ruby.h: introduce flonum technique forko12012-08-231-2/+1
* random.c: refine error messagenobu2012-07-201-1/+4
* random.c: check initialize and loadnobu2012-06-221-0/+3
* * random.c (rb_random_int32): get rid of "warning: constant 0x100000000kosaki2012-06-191-1/+1
* obj_init_copynobu2012-06-051-3/+8
* * random.c (random_init): Clarify that the default seed isdrbrain2012-04-191-3/+2
* * include/ruby/intern.h: Add rb_check_arity, rb_error_arity [#6085]marcandre2012-03-141-2/+2
* * random.c (Init_Random): removed rb_Random_DEFAULT and register asnobu2012-03-111-7/+14
* * random.c (random_s_rand): ensure default PRNG is re-initializednobu2012-03-111-0/+1
* * random.c: remove a duplicated comment.mrkn2012-02-181-2/+0
* * process.c (ruby_setsid): use rb_cloexec_open.akr2011-10-291-3/+3
* * include/ruby/intern.h (rb_fd_set_cloexec): declared.akr2011-10-221-1/+1