path: root/random.c
AgeCommit message (Expand)Author
2015-07-14fix compile error with clangkazu
2015-07-07* random.c (fill_random_bytes_syscall): fix compile error.kazu
2015-07-07random.c: fix failures on old Linuxnormal
2015-07-07random.c: try getrandomnobu
2015-07-07random.c: separate fill_random_bytesnobu
2015-06-25random.c: refactornobu
2015-03-19random.c: fix handle to releasenobu
2015-03-16ruby.h: suppress false warningsnobu
2015-03-16ruby.h: suppress false warningsnobu
2015-03-04* random.c (random_raw_seed): Avoid calling fill_random_bytes()odaira
2015-02-15random.c: suppress a warningnobu
2015-02-14random.c: ArgumentError for invalid argumentnobu
2015-02-14random.c: allow negative argument to random_numbernobu
2015-02-14random.c: rand_random_numbernobu
2015-02-14random.c: use PRIsVALUEnobu
2015-02-14random.c: Random.raw_seednobu
2014-12-01use 0 for reservednobu
2014-11-15* internal.h: Include ruby.h and ruby/encoding.h to beakr
2014-07-09random.c: fix castsnobu
2014-07-03Init functions don't need ID cachesnobu
2014-02-15* internal.h: Rename macro names: RBIGNUM_FOO to BIGNUM_FOO.akr
2013-11-20* random.c (rand_init): Make it possible to specify arbitrary arrayakr
2013-10-29* add RUBY_TYPED_FREE_IMMEDIATELY to data types which only useko1
2013-10-02* random.c (make_seed_value): a local array declaration was accessedmame
2013-09-25* include/ruby/ruby.h: rename RARRAY_RAWPTR() to RARRAY_CONST_PTR().ko1
2013-08-13random.c: coerce before check negativenobu
2013-08-07* random.c (random_load): use RARRAY_RAWPTR() instead ofko1
2013-06-12* safe.c (rb_set_safe_level, safe_setter): raise an ArgumentErrorshugo
2013-06-11* random.c (rand_int): Use rb_big_uminus.akr
2013-06-11* internal.h (INTEGER_PACK_NEGATIVE): Defined.akr
2013-06-10* bignum.c (rb_integer_pack): Returns sign instead of words.akr
2013-06-09* bignum.c (rb_absint_numwords): Renamed from rb_absint_size_in_word.akr
2013-06-09* bignum.c (rb_integer_pack): numwords_allocated argument removed.akr
2013-06-08* random.c (limited_big_rand): declare rnd, lim and mask as uint32_tcharliesome
2013-06-08* random.c: Unused RBignum internal accessing macros removed.akr
2013-06-08* random.c (limited_big_rand): The argument, limit, is changed toakr
2013-06-08* random.c (make_seed_value): Fix the length given forakr
2013-06-08* bignum.c (rb_integer_unpack): Don't use rb_funcall if possible.akr
2013-06-08* random.c (rand_init): Add a cast to fix clang compile error:akr
2013-06-08* random.c (rand_init): Use rb_integer_pack.akr
2013-06-08* internal.h (INTEGER_PACK_FORCE_BIGNUM): New flag constant.akr
2013-06-08* random.c (int_pair_to_real_inclusive): Use rb_funcall instead ofakr
2013-06-08* random.c (int_pair_to_real_inclusive): Use rb_integer_pack.akr
2013-06-08* random.c (int_pair_to_real_inclusive): Use rb_integer_unpack.akr
2013-06-07* random.c (random_load): Use rb_integer_pack.akr
2013-06-07* random.c (numberof): Removed.akr
2013-06-07* random.c: include internal.h.akr
2013-06-05* random.c (int_pair_to_real_inclusive): Add a cast to BDIGIT.akr
2013-05-13* gc.c: support RGENGC. [ruby-trunk - Feature #8339]ko1
2013-05-13* include/ruby/ruby.h: constify RBasic::klass and addko1