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 /ChangeLog | |
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 '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. |