diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-03 00:34:31 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-03 00:34:31 +0000 |
commit | b4c0aac4c8ca217a3579e3e95fb2e7c993234955 (patch) | |
tree | 75c0ad890d02af2ece2ec7983800d867dbeb624a /ChangeLog | |
parent | 2b82986034688e90ff7de092c4bc6b75b1510d0b (diff) | |
download | ruby-b4c0aac4c8ca217a3579e3e95fb2e7c993234955.tar.gz |
numeric.c: dbl2ival no longer rounds
* numeric.c (flodivmod): round division if it is a finite number
and module is required.
* numeric.c (dbl2ival): do not round here.
* numeric.c (flo_ceil): use dbl2ival.
* numeric.c (flo_round): round explicitly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1,3 +1,14 @@ +Sun Apr 3 09:34:29 2016 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * numeric.c (flodivmod): round division if it is a finite number + and module is required. + + * numeric.c (dbl2ival): do not round here. + + * numeric.c (flo_ceil): use dbl2ival. + + * numeric.c (flo_round): round explicitly. + Sat Apr 2 15:24:18 2016 Nobuyoshi Nakada <nobu@ruby-lang.org> * include/ruby/intern.h (rb_check_arity): returns argc. |