[ruby-cvs:62004] akr:r54842 (trunk): Define Integer#< instead of Bignum#<.

akr at ruby-lang.org akr at ruby-lang.org
Sat Apr 30 19:10:23 JST 2016


akr	2016-04-30 19:10:23 +0900 (Sat, 30 Apr 2016)

  New Revision: 54842

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

  Log:
    Define Integer#< instead of Bignum#<.
    
    * numeric.c (int_lt): Define Integer#<.
    
    * bignum.c (rb_big_lt): Don't define Bignum#<.
      Renamed from big_lt.
    
    * internal.h (rb_big_lt): Declared.

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


More information about the ruby-cvs mailing list