diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-21 18:19:15 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-21 18:19:15 +0000 |
commit | ab023fda94389fa677f2f04ed526138be27a918d (patch) | |
tree | c67ea95ae5f1d5e9c5c73a2b5c47932f3a939b80 /basictest | |
parent | 70e13bdcf12b162907c56f7f77b93656599f598d (diff) | |
download | ruby-ab023fda94389fa677f2f04ed526138be27a918d.tar.gz |
* time.c (divmodv): add the case both arguments are Fixnum.
* time.c (wquo): use quo which has Fixnum optimization.
* time.c (wdivmod0): added for WIDEVALUE_IS_WIDER.
* time.c (wdivmod): use wdivmod0 and divmodv.
divmodv has Fixnum optimization.
* time.c (wdiv): use wdivmod0 and div to avoid the use of divmodv which
calls id_quo whose return value is array.
* time.c (wmod): use wdivmod0 and mod to avoid the use of divmodv which
calls id_quo whose return value is array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'basictest')
0 files changed, 0 insertions, 0 deletions