diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-19 10:06:57 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-19 10:06:57 +0000 |
commit | b01312ab9760109353846c6fac3e0d135b7842b6 (patch) | |
tree | c8259597b50b2bdd2bd154575f5a261cfc818cae /test/ruby/test_fixnum.rb | |
parent | 5a213ee2e2df26df525877f5e45012aaab931b5f (diff) | |
download | ruby-b01312ab9760109353846c6fac3e0d135b7842b6.tar.gz |
* numeric.c (fix_cmp): use rb_big_cmp if x is Fixnum and y is Bignum.
rb_big_cmp handles such case smartly with big_norm.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_fixnum.rb')
0 files changed, 0 insertions, 0 deletions