aboutsummaryrefslogtreecommitdiffstats
path: root/goruby.c
diff options
context:
space:
mode:
authormrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-11-12 06:45:11 +0000
committermrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-11-12 06:45:11 +0000
commit7e333ebc4afd7c0edbafe001ecf3d1654577cc26 (patch)
tree50adc4408bba56ddb9288f8d861b0f6f4de5e3d6 /goruby.c
parent802bfba19c02058e95a31194c9316680df0c15e1 (diff)
downloadruby-7e333ebc4afd7c0edbafe001ecf3d1654577cc26.tar.gz
rational.c: optimize Rational#{floor,ceil,round,truncate}
* rational.c (f_{expt10,round_common},nurat_{floor,ceil,round_half_{up,even}}): optimize Rational#{floor,ceil,round,truncate}. Author: Tadashi Saito <tad.a.digger@gmail.com> * numeric.c (rb_int_divmod): rename from int_divmod to be exported. * numeric.c (rb_int_and): rename from int_and to be exported. * intern.h (rb_int_{divmod,and}): exported. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'goruby.c')
0 files changed, 0 insertions, 0 deletions