[ruby-cvs:61999] akr:r54837 (trunk): {Fixnum, Bignum}#-@ is unified into Integer.

akr at ruby-lang.org akr at ruby-lang.org
Sat Apr 30 15:30:11 JST 2016


akr	2016-04-30 15:30:08 +0900 (Sat, 30 Apr 2016)

  New Revision: 54837

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

  Log:
    {Fixnum,Bignum}#-@ is unified into Integer.
    
    * numeric.c (rb_int_uminus): {Fixnum,Bignum}#-@ is unified into
      Integer.
    
    * bignum.c (rb_big_uminus): Don't define Bignum#- at .

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


More information about the ruby-cvs mailing list