diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-14 04:06:15 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-14 04:06:15 +0000 |
commit | 9c19130e7f13d96f57ba1b681bf14cc682ee8bce (patch) | |
tree | 009aa2f20c9680f9d17e7d66378a5ad294c4742a /tool/instruction.rb | |
parent | 1b63495df2751f2accdf365dcfee7652d8aef656 (diff) | |
download | ruby-9c19130e7f13d96f57ba1b681bf14cc682ee8bce.tar.gz |
complex.c: optimize
* complex.c (f_negative_p): use rb_num_negative_p instead of funcall.
* complex.c (f_kind_of_p, f_numeric_p): cast down to int because
rb_obj_is_kind_of is safe.
* complex.c (f_signbit, f_tpositive_p): remove f_boolcast.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/instruction.rb')
0 files changed, 0 insertions, 0 deletions