summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-04-18 01:40:38 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-04-18 01:40:38 +0000
commit7595c80e5570399fa98c455360f602297c97b1a1 (patch)
tree8f5cebe3dc73f38e30654b64dd0313aa310436be /util.c
parentfad88354f9f24efd45d0169309b00883e4076622 (diff)
* util.c (ruby_strtod): exponent is radix 10. [ruby-talk:248272]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@12192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'util.c')
-rw-r--r--util.c4
1 files changed, 2 insertions, 2 deletions
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 */