summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authormrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-01 03:37:02 +0000
committermrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-01 03:37:02 +0000
commit4752539e3f3e563d559732c52424206bd6f12dbd (patch)
treec092ed459933035864b4712d7f9d8bd5e4053802 /NEWS
parent38de163f1e24faf50cd4a09aa91ce271792d6bae (diff)
downloadbundler-4752539e3f3e563d559732c52424206bd6f12dbd.tar.gz
* NEWS: add new features of bigdecimal.
* ChangeLog: 2011-06-01 is Wednesday. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS11
1 files changed, 10 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 49cd303d46..fe63757539 100644
--- a/NEWS
+++ b/NEWS
@@ -83,7 +83,16 @@ with all sufficient information, see the ChangeLog file.
* Process
* Process#maxgroups and Process#maxgroups= now raise NotImplementedError if
the platform don't support supplementary groups concept.
-
+
+ * bigdecimal
+ * Kernel.BigDecimal and BigDecimal.new now accept instances of Integer,
+ Rational, and Float. If you pass a Rational or a Float to them, you must
+ specify the precision to produce the digits of a BigDecimal.
+
+ * The behavior of BigDecimal#coerce with a Rational is changed. It uses
+ the precision of the receiver BigDecimal to produce the digits of a
+ BigDecimal from the given Rational.
+
* io/console
* new methods:
* IO#noecho {|io| }