Project

General

Profile

« Previous | Next » 

Revision 03d0501f

Added by naruse (Yui NARUSE) over 9 years ago

  • time.c (MUL_OVERFLOW_FIXWV_P): defined for FIXWV.

  • time.c (wmul): use MUL_OVERFLOW_FIXWV_P and only switch.

  • time.c (wmul): use mul which has Fixnum optimization.

  • time.c (rb_time_magnify): If WIDEVALUE_IS_WIDER, wmul() has the same
    optimized logic, else mul() has also the similar logic for Fixnum.

  • time.c (rb_time_unmagnify): almost ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e