[ruby-cvs:63662] nobu:r56497 (trunk): object.c: fixable float to fixnum

nobu at ruby-lang.org nobu at ruby-lang.org
Thu Oct 27 09:42:11 JST 2016


nobu	2016-10-27 09:42:11 +0900 (Thu, 27 Oct 2016)

  New Revision: 56497

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

  Log:
    object.c: fixable float to fixnum
    
    * object.c (rb_convert_to_integer): convert a fixable float to a
      fixnum directly without the convesion method, as well as bignum
      case.

  Modified files:
    trunk/ChangeLog
    trunk/object.c
    trunk/test/ruby/test_integer.rb


More information about the ruby-cvs mailing list