From 70d89f2c1630966e5e813084eb5fba5ff045fdc3 Mon Sep 17 00:00:00 2001 From: mrkn Date: Sat, 30 Jul 2011 04:57:45 +0000 Subject: * ext/bigdecimal/lib/bigdecimal/util.rb (Rational#to_d): revive zero and implicit precision support as a deprecated feature. * test/bigdecimal/test_bigdecimal_util.rb: modify a test for the above change. * NEWS: describes the above change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- NEWS | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 75d428e653..7aea2bff40 100644 --- a/NEWS +++ b/NEWS @@ -122,7 +122,13 @@ with all sufficient information, see the ChangeLog file. * Rational#to_d raises ArgumentError when passing zero or negative precision. - * Rational#to_d requires a precision. It is an incompatible change. + * Rational#to_d + + * Zero and an implicit precision is deprecated. + This feature is removed at the next release of bigdecimal. + + * A negative precision isn't supported. + Be careful it is an incompatible change. * date -- cgit v1.2.3