diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-10-27 00:42:11 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-10-27 00:42:11 +0000 |
commit | c94855855ed2abbfc9abd3d74ad2984d1b8ff14e (patch) | |
tree | 111fd30fd67a4d049baba70a3a36b470a7de8366 /sample/test.rb | |
parent | cc08515cf8ed0cdb5c38bbb4ef84a110e8868cd6 (diff) |
object.c: fixable float to fixnum
* object.c (rb_convert_to_integer): convert a fixable float to a
fixnum directly without the convesion method, as well as bignum
case.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample/test.rb')
0 files changed, 0 insertions, 0 deletions