summaryrefslogtreecommitdiff
path: root/random.c
Commit message (Expand)AuthorAgeFilesLines
* random.c: fix handle to releasenobu2015-03-191-2/+2
* ruby.h: suppress false warningsnobu2015-03-161-2/+0
* ruby.h: suppress false warningsnobu2015-03-161-0/+2
* * random.c (random_raw_seed): Avoid calling fill_random_bytes()odaira2015-03-041-0/+1
* random.c: suppress a warningnobu2015-02-151-1/+1
* random.c: ArgumentError for invalid argumentnobu2015-02-141-4/+17
* random.c: allow negative argument to random_numbernobu2015-02-141-8/+17
* random.c: rand_random_numbernobu2015-02-141-50/+135
* random.c: use PRIsVALUEnobu2015-02-141-3/+1
* random.c: Random.raw_seednobu2015-02-141-28/+78
* use 0 for reservednobu2014-12-011-1/+1
* * internal.h: Include ruby.h and ruby/encoding.h to beakr2014-11-151-1/+0
* random.c: fix castsnobu2014-07-091-4/+4
* Init functions don't need ID cachesnobu2014-07-031-1/+8
* * internal.h: Rename macro names: RBIGNUM_FOO to BIGNUM_FOO.akr2014-02-151-2/+2
* * random.c (rand_init): Make it possible to specify arbitrary arrayakr2013-11-201-6/+0
* * 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