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 | |
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
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | util.c | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,7 @@ +Wed Apr 18 10:41:21 2007 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * util.c (ruby_strtod): exponent is radix 10. [ruby-talk:248272] + Wed Apr 18 02:30:24 2007 Nobuyoshi Nakada <nobu@ruby-lang.org> * configure.in (LDFLAGS): prepend -L. instead appending it to @@ -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 */ |