aboutsummaryrefslogtreecommitdiffstats
path: root/timev.h
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-08 09:15:18 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-03-08 09:15:18 +0000
commit1b49df0b3d0a08f450a475eafdb5a80c614d85bb (patch)
tree39c7e7af80089b88d8fd18224bf9ff3b58c068f5 /timev.h
parent87adc59b2135b1a5438ccc1c77d92fec92829b1a (diff)
downloadruby-1b49df0b3d0a08f450a475eafdb5a80c614d85bb.tar.gz
* intern.h (rb_divmod): assume compilers `/` and `%` comply C99
and reduce branching. If a compiler doesn't comply, add #ifdefs. * intern.h (rb_div): added for Ruby's behavior. * intern.h (rb_mod): added for Ruby's behavior. * insns.def (opt_div): use rb_div. * insns.def (opt_mod): use rb_mod. * numeric.c (fixdivmod): removed. * numeric.c (fix_divide): use rb_div. * numeric.c (fix_mod): use rb_mod. * numeric.c (fix_divmod): use rb_divmod. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'timev.h')
0 files changed, 0 insertions, 0 deletions