From dfe91fcd08e7e255b5cb1b306e53bea1ddb54e5f Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 5 Nov 2016 09:49:39 +0000 Subject: numeric.c: round to nearest even * numeric.c (flo_round, int_round): support round-to-nearest-even semantics of IEEE 754 to match sprintf behavior, and add `half:` optional keyword argument for the old behavior. [ruby-core:76273] [Bug #12548] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 71133697d2..bea8496f56 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Sat Nov 5 18:49:37 2016 Nobuyoshi Nakada + + * numeric.c (flo_round, int_round): support round-to-nearest-even + semantics of IEEE 754 to match sprintf behavior, and add `half:` + optional keyword argument for the old behavior. + [ruby-core:76273] [Bug #12548] + Sat Nov 5 18:17:54 2016 Akinori MUSHA * lib/set.rb (Set#compare_by_identity, Set#compare_by_identity?): -- cgit v1.2.3