Project

General

Profile

« Previous | Next » 

Revision 41239

  • internal.h (INTEGER_PACK_NEGATIVE): Defined.
    (rb_integer_unpack): sign argument removed.

  • bignum.c (rb_integer_unpack): sign argument removed.
    Non-negative integers generated by default.
    INTEGER_PACK_NEGATIVE flag is used to generate non-positive integers.

  • pack.c (pack_unpack): Follow the above change.

  • random.c (int_pair_to_real_inclusive): Ditto.
    (make_seed_value): Ditto.
    (mt_state): Ditto.
    (limited_big_rand): Ditto.

  • marshal.c (r_object0): Ditto.