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

ruby-changes:43276

From: usa <ko1@a...>
Date: Fri, 10 Jun 2016 15:47:28 +0900 (JST)
Subject: [ruby-changes:43276] usa:r55350 (ruby_2_2): merge revision(s) 54898: [Backport #12339]

usa	2016-06-10 15:47:23 +0900 (Fri, 10 Jun 2016)

  New Revision: 55350

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

  Log:
    merge revision(s) 54898: [Backport #12339]
    
    * bignum.c: [DOC] Update result of 123456789 ** -2.
      [ruby-dev:49606] [Bug #12339]

  Modified files:
    branches/ruby_2_2/ChangeLog
    branches/ruby_2_2/bignum.c
    branches/ruby_2_2/version.h
Index: ruby_2_2/version.h
===================================================================
--- ruby_2_2/version.h	(revision 55349)
+++ ruby_2_2/version.h	(revision 55350)
@@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_2/version.h#L1
 #define RUBY_VERSION "2.2.6"
 #define RUBY_RELEASE_DATE "2016-06-10"
-#define RUBY_PATCHLEVEL 325
+#define RUBY_PATCHLEVEL 326
 
 #define RUBY_RELEASE_YEAR 2016
 #define RUBY_RELEASE_MONTH 6
Index: ruby_2_2/ChangeLog
===================================================================
--- ruby_2_2/ChangeLog	(revision 55349)
+++ ruby_2_2/ChangeLog	(revision 55350)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_2/ChangeLog#L1
+Fri Jun 10 15:46:24 2016  Kazuhiro NISHIYAMA  <zn@m...>
+
+	* bignum.c: [DOC] Update result of 123456789 ** -2.
+	  [ruby-dev:49606] [Bug #12339]
+
 Fri Jun 10 15:37:25 2016  Yuichiro Kaneko  <yui-knk@r...>
 
 	* internal.h (RCOMPLEX_SET_IMAG): undef RCOMPLEX_SET_IMAG
Index: ruby_2_2/bignum.c
===================================================================
--- ruby_2_2/bignum.c	(revision 55349)
+++ ruby_2_2/bignum.c	(revision 55350)
@@ -6248,7 +6248,7 @@ rb_big_fdiv(VALUE x, VALUE y) https://github.com/ruby/ruby/blob/trunk/ruby_2_2/bignum.c#L6248
  *
  *    123456789 ** 2      #=> 15241578750190521
  *    123456789 ** 1.2    #=> 5126464716.09932
- *    123456789 ** -2     #=> 6.5610001194102e-17
+ *    123456789 ** -2     #=> (1/15241578750190521)
  */
 
 VALUE

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

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