diff options
author | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-22 05:21:12 +0000 |
---|---|---|
committer | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-22 05:21:12 +0000 |
commit | b920d9545c6006f97ecf3309878a57f6606d5394 (patch) | |
tree | 866bcda089a7cec53fd52e119b1a60b7e4efb745 /lib/forwardable | |
parent | d59bfb2d068212eb0eb649080980d6596cd7410d (diff) | |
download | ruby-b920d9545c6006f97ecf3309878a57f6606d5394.tar.gz |
complex.c: optimize f_gt_p some cases
* complex.c (f_gt_p): optimize f_gt_p for specific types of arguments.
* internal.h (rb_int_gt, rb_float_gt, rb_rational_cmp): exported.
* numeric.c (rb_float_gt): rename from flo_gt and be exported.
* numeric.c (rb_int_gt): rename from int_gt and be exported.
* rational.c (rb_rational_cmp): rename from nurat_cmp and be exported.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/forwardable')
0 files changed, 0 insertions, 0 deletions