diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-04-18 01:40:38 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-04-18 01:40:38 +0000 |
commit | 7595c80e5570399fa98c455360f602297c97b1a1 (patch) | |
tree | 8f5cebe3dc73f38e30654b64dd0313aa310436be /util.c | |
parent | fad88354f9f24efd45d0169309b00883e4076622 (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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 */ |