diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-01-29 01:42:12 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-01-29 01:42:12 +0000 |
commit | a1f8fbd18da34473ad27323b11f4ebe06dc43104 (patch) | |
tree | d7241f4628fa0cd63d6e73d8b080d5f94bf312b7 /template | |
parent | d77ae2c2f4c6c2a4225bb1346067da478393f182 (diff) | |
download | ruby-a1f8fbd18da34473ad27323b11f4ebe06dc43104.tar.gz |
math.c: deoptimize
* math.c (Get_Double): restrict direct casting only when
Fixnum#to_f is not redefined, and convert with rb_to_float().
[Feature #10785]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'template')
0 files changed, 0 insertions, 0 deletions