[前][次][番号順一覧][スレッド一覧]

ruby-changes:54203

From: mrkn <ko1@a...>
Date: Mon, 17 Dec 2018 12:08:53 +0900 (JST)
Subject: [ruby-changes:54203] mrkn:r66424 (trunk): NEWS: Note for the bigdecimal versions

mrkn	2018-12-17 12:08:46 +0900 (Mon, 17 Dec 2018)

  New Revision: 66424

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66424

  Log:
    NEWS: Note for the bigdecimal versions
    
    The differences between bigdecimal 1.3.5, 1.4.0, and 1.5.0 are explained.
    
    [ci skip]

  Modified files:
    trunk/NEWS
Index: NEWS
===================================================================
--- NEWS	(revision 66423)
+++ NEWS	(revision 66424)
@@ -353,6 +353,23 @@ sufficient information, see the ChangeLo https://github.com/ruby/ruby/blob/trunk/NEWS#L353
 
   * BigDecimal() accepts new keyword "exception:" similar to Float().
 
+  [Note for the differences among recent versions]
+
+  You should want to know the differences among recent versions of bigdecimal.
+  Please select the suitable version of bigdecimal according to the following
+  information.
+
+  * 1.3.5 has BigDecimal.new without "exception:" keyword.  You can see the
+    deprecation warning of BigDecimal.new when you specify "-w" option.
+    BigDecimal(), BigDecimal.new, and Object#to_d methods are same.
+
+  * 1.4.0 has BigDecimal.new with "exception:" keyword.  You always see the
+    deprecation warning of BigDecimal.new.  Object#to_d method is different
+    from BigDecimal() and BigDecimal.new.
+
+  * 1.5.0 will be released after releasing Ruby 2.6.0.  This version doesn't
+    have BigDecimal.new method.
+
 [Bundler]
 
   * Add Bundler to Standard Library. [Feature #12733]

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]