mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* util.c (ruby_strtod): exponent is radix 10. [ruby-talk:248272]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
07cab8007e
commit
b338d1d6a4
2 changed files with 6 additions and 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
|
||||
|
|
4
util.c
4
util.c
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue