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 | a18f3f4dbdec695765637b21b9c2526f30e6946c (patch) | |
tree | 111fd30fd67a4d049baba70a3a36b470a7de8366 /ChangeLog | |
parent | 70f820784179fa6d84220b335b3a286ced0eb8fd (diff) | |
download | ruby-a18f3f4dbdec695765637b21b9c2526f30e6946c.tar.gz |
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 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,4 +1,8 @@ -Thu Oct 27 09:12:32 2016 Nobuyoshi Nakada <nobu@ruby-lang.org> +Thu Oct 27 09:42:09 2016 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * object.c (rb_convert_to_integer): convert a fixable float to a + fixnum directly without the convesion method, as well as bignum + case. * object.c (rb_convert_to_integer): should not drop the converted string. |