diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-12-25 08:42:28 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-12-25 08:42:28 +0000 |
commit | 6335fc6fe31b7c8f20b398a8618d208c72950f94 (patch) | |
tree | 73bddeee1405b5d7b02b6304779bde35f946112b /bignum.c | |
parent | f797b156f55861410f7fafdad09cba5be6edcb05 (diff) |
bignum.c (DBL_BIGDIG): make enum
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bignum.c')
-rw-r--r-- | bignum.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -6090,10 +6090,11 @@ big_shift(VALUE x, long n) return x; } +enum {DBL_BIGDIG = ((DBL_MANT_DIG + BITSPERDIG) / BITSPERDIG)}; + static double big_fdiv(VALUE x, VALUE y, long ey) { -#define DBL_BIGDIG ((DBL_MANT_DIG + BITSPERDIG) / BITSPERDIG) VALUE z; long l, ex; |