[ruby-cvs:52057] akr:r44910 (trunk): * bignum.c (rb_big_cmp): Specialize a comparison to zero.

akr at ruby-lang.org akr at ruby-lang.org
Tue Feb 11 23:43:24 JST 2014


akr	2014-02-11 23:43:23 +0900 (Tue, 11 Feb 2014)

  New Revision: 44910

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44910

  Log:
    * bignum.c (rb_big_cmp): Specialize a comparison to zero.
    
    * ext/bigdecimal/bigdecimal.c (is_negative): Use rb_big_cmp instead of
      RBIGNUM_NEGATIVE_P.

  Modified files:
    trunk/ChangeLog
    trunk/bignum.c
    trunk/ext/bigdecimal/bigdecimal.c


More information about the ruby-cvs mailing list