diff options
-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:50:50 2007 Nobuyoshi Nakada <nobu@ruby-lang.org> * yarvcore.c (th_init2): push initial blockptr value for @@ -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 */ |