[ruby-cvs:61377] naruse:r54216 (trunk): * internal.h (rb_fix_divmod_fix): like r54213, use FIX2NUM only if

naruse at ruby-lang.org naruse at ruby-lang.org
Mon Mar 21 22:36:03 JST 2016


naruse	2016-03-21 22:36:03 +0900 (Mon, 21 Mar 2016)

  New Revision: 54216

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

  Log:
    * internal.h (rb_fix_divmod_fix): like r54213, use FIX2NUM only if
      x == FIXNUM_MIN && y == -1. This must be a rare case and it is
      expected compiler to handle well.

  Modified files:
    trunk/ChangeLog
    trunk/insns.def
    trunk/internal.h
    trunk/numeric.c
    trunk/time.c


More information about the ruby-cvs mailing list