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

ruby-changes:31703

From: usa <ko1@a...>
Date: Fri, 22 Nov 2013 13:19:02 +0900 (JST)
Subject: [ruby-changes:31703] usa:r43782 (ruby_1_9_3): merge revision(s) 43780:

usa	2013-11-22 13:18:47 +0900 (Fri, 22 Nov 2013)

  New Revision: 43782

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43782

  Log:
    merge revision(s) 43780:
    
    * util.c (ruby_strtod): BigMath requires more precision.

  Modified files:
    branches/ruby_1_9_3/util.c
    branches/ruby_1_9_3/version.h
Index: ruby_1_9_3/util.c
===================================================================
--- ruby_1_9_3/util.c	(revision 43781)
+++ ruby_1_9_3/util.c	(revision 43782)
@@ -2062,7 +2062,7 @@ break2: https://github.com/ruby/ruby/blob/trunk/ruby_1_9_3/util.c#L2062
         for (; c >= '0' && c <= '9'; c = *++s) {
 have_dig:
             nz++;
-            if (nf > DBL_DIG * 2) continue;
+            if (nf > DBL_DIG * 4) continue;
             if (c -= '0') {
                 nf += nz;
                 for (i = 1; i < nz; i++)
Index: ruby_1_9_3/version.h
===================================================================
--- ruby_1_9_3/version.h	(revision 43781)
+++ ruby_1_9_3/version.h	(revision 43782)
@@ -1,5 +1,5 @@ https://github.com/ruby/ruby/blob/trunk/ruby_1_9_3/version.h#L1
 #define RUBY_VERSION "1.9.3"
-#define RUBY_PATCHLEVEL 483
+#define RUBY_PATCHLEVEL 484
 
 #define RUBY_RELEASE_DATE "2013-11-22"
 #define RUBY_RELEASE_YEAR 2013

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

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