summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-05-22 18:25:13 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-05-22 18:25:13 +0000
commit604de6cf032f2c881e9126a3f03adafd7d2e88d6 (patch)
tree1139774667f59e844e881b224df57a9c41c6eb78
parent53733aaab9cca47f2471371f8ea1744d8298b781 (diff)
merge -c 12192
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@12323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--util.c4
-rw-r--r--version.h2
3 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 931c5a1a30..872a84c984 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Wed May 23 03:25:13 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * util.c (ruby_strtod): exponent is radix 10. [ruby-talk:248272]
+
Wed May 23 03:12:17 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in (LDFLAGS): prepend -L. instead appending it to
diff --git a/util.c b/util.c
index c9c7d1166d..46c6033313 100644
--- a/util.c
+++ b/util.c
@@ -683,8 +683,8 @@ ruby_getcwd()
*
*/
-#define MDMINEXPT DBL_MIN_EXP
-#define MDMAXEXPT DBL_MAX_EXP
+#define MDMINEXPT DBL_MIN_10_EXP
+#define MDMAXEXPT DBL_MAX_10_EXP
static const
double powersOf10[] = { /* Table giving binary powers of 10. Entry */
diff --git a/version.h b/version.h
index 7a69ceda6f..eb5e02a907 100644
--- a/version.h
+++ b/version.h
@@ -2,7 +2,7 @@
#define RUBY_RELEASE_DATE "2007-05-23"
#define RUBY_VERSION_CODE 186
#define RUBY_RELEASE_CODE 20070523
-#define RUBY_PATCHLEVEL 15
+#define RUBY_PATCHLEVEL 16
#define RUBY_VERSION_MAJOR 1
#define RUBY_VERSION_MINOR 8