[ruby-cvs:61364] naruse:r54203 (trunk): * internal.h (DLONG): defined if long is 32bit (and LONG_LONG is 64bit;

naruse at ruby-lang.org naruse at ruby-lang.org
Sun Mar 20 20:10:44 JST 2016


naruse	2016-03-20 20:10:43 +0900 (Sun, 20 Mar 2016)

  New Revision: 54203

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

  Log:
    * internal.h (DLONG): defined if long is 32bit (and LONG_LONG is 64bit;
      but LONG_LONG is always defined as 64bit), or there's int128_t.
    
    * internal.h (DL2NUM): defined if DLONG is defined.
    
    * internal.h (rb_fix_mul_fix): defined for `Fixnum * Fixnum`.
    
    * insns.def (opt_mul): use rb_fix_mul_fix().
    
    * numeric.c (fix_mul): ditto.
    
    * time.c (mul): ditto.

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


More information about the ruby-cvs mailing list