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

ruby-changes:42824

From: kazu <ko1@a...>
Date: Tue, 3 May 2016 22:35:03 +0900 (JST)
Subject: [ruby-changes:42824] kazu:r54898 (trunk): Update result of 123456789 ** -2

kazu	2016-05-03 23:31:40 +0900 (Tue, 03 May 2016)

  New Revision: 54898

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

  Log:
    Update result of 123456789 ** -2
    
    * numeric.c: [DOC] Update result of 123456789 ** -2.
      [ruby-dev:49606] [Bug #12339]

  Modified files:
    trunk/ChangeLog
    trunk/numeric.c
Index: numeric.c
===================================================================
--- numeric.c	(revision 54897)
+++ numeric.c	(revision 54898)
@@ -3645,7 +3645,7 @@ int_divmod(VALUE x, VALUE y) https://github.com/ruby/ruby/blob/trunk/numeric.c#L3645
  *
  *    123456789 ** 2      #=> 15241578750190521
  *    123456789 ** 1.2    #=> 5126464716.09932
- *    123456789 ** -2     #=> 6.5610001194102e-17
+ *    123456789 ** -2     #=> (1/15241578750190521)
  *
  */
 
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 54897)
+++ ChangeLog	(revision 54898)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Tue May  3 23:25:48 2016  Kazuhiro NISHIYAMA  <zn@m...>
+
+	* numeric.c: [DOC] Update result of 123456789 ** -2.
+	  [ruby-dev:49606] [Bug #12339]
+
 Tue May  3 23:13:16 2016  Yuichiro Kaneko  <yui-knk@r...>
 
 	* internal.h (RCOMPLEX_SET_IMAG): undef RCOMPLEX_SET_IMAG

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

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