[ruby-cvs:62003] akr:r54841 (trunk): Define Integer#<= instead of Bignum#<=.

akr at ruby-lang.org akr at ruby-lang.org
Sat Apr 30 18:48:25 JST 2016


akr	2016-04-30 18:48:25 +0900 (Sat, 30 Apr 2016)

  New Revision: 54841

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

  Log:
    Define Integer#<= instead of Bignum#<=.
    
    * numeric.c (int_le): Define Integer#<=.
    
    * bignum.c (rb_big_le): Don't define Bignum#<=.
      Renamed from big_le.
    
    * internal.h (rb_big_le): Declared.

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


More information about the ruby-cvs mailing list