[ruby-cvs:62013] akr:r54851 (trunk): Define Integer#/ instead of Bignum#/.

akr at ruby-lang.org akr at ruby-lang.org
Sat Apr 30 21:39:53 JST 2016


akr	2016-04-30 21:39:53 +0900 (Sat, 30 Apr 2016)

  New Revision: 54851

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

  Log:
    Define Integer#/ instead of Bignum#/.
    
    * numeric.c (rb_int_div): Define Integer#/.
    
    * bignum.c (rb_big_div): Don't define Bignum#/.
    
    * lib/mathn.rb (Integer#/): Replace Integer#/ instead of Bignum#/.

  Modified files:
    trunk/ChangeLog
    trunk/bignum.c
    trunk/lib/mathn.rb
    trunk/numeric.c


More information about the ruby-cvs mailing list