summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-11-22 04:18:47 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-11-22 04:18:47 +0000
commit4cd481f031597b7b933af5d1a14a25c19841c0d1 (patch)
treebe9d74056eea7c08221bc0b507e2bbe75b9f6b25
parent60c29bbbf6574e0e947c56e71c3c3ca11620ee15 (diff)
merge revision(s) 43780:
* util.c (ruby_strtod): BigMath requires more precision. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@43782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--util.c2
-rw-r--r--version.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/util.c b/util.c
index c376dc6..ded3840 100644
--- a/util.c
+++ b/util.c
@@ -2062,7 +2062,7 @@ break2:
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++)
diff --git a/version.h b/version.h
index 9d6b778..1525263 100644
--- a/version.h
+++ b/version.h
@@ -1,5 +1,5 @@
#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