[ruby-cvs:61940] akr:r54778 (trunk): {Fixnum, Bignum}#bit_length is unified into Integer.

akr at ruby-lang.org akr at ruby-lang.org
Tue Apr 26 20:17:37 JST 2016


akr	2016-04-26 20:17:37 +0900 (Tue, 26 Apr 2016)

  New Revision: 54778

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54778

  Log:
    {Fixnum,Bignum}#bit_length is unified into Integer.
    
    * numeric.c (rb_int_bit_length): {Fixnum,Bignum}#bit_length is
      unified into Integer.
    
    * bignum.c (rb_big_bit_length): Don't define Bignum#bit_length.
    
    * internal.h (rb_big_bit_length): Declared.
    
    --This iine, and those below, will be ignored--
    
    M    ChangeLog
    M    bignum.c
    M    internal.h
    M    numeric.c

  Modified files:
    trunk/ChangeLog
    trunk/bignum.c
    trunk/internal.h
    trunk/numeric.c


More information about the ruby-cvs mailing list