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 | d2540ac9380aabb6dd7112a4b6e3b0e5f95e3706 (patch) | |
tree | 650ddb206d71b50b5fcd82c70c2cf2c8a365b3f0 /util.c | |
parent | f802f9a15d73de8a83afe5f5b0312a366a3b0991 (diff) | |
download | ruby-d2540ac9380aabb6dd7112a4b6e3b0e5f95e3706.tar.gz ruby-d2540ac9380aabb6dd7112a4b6e3b0e5f95e3706.tar.xz ruby-d2540ac9380aabb6dd7112a4b6e3b0e5f95e3706.zip |
* util.c (ruby_strtod): exponent is radix 10. [ruby-talk:248272]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -664,8 +664,8 @@ ruby_getcwd(void) * */ -#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 */ 10.0, /* is 10^2^i. Used to convert decimal */ |