summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-07-15 02:26:24 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-07-15 02:26:24 +0000
commita5da8319b60ed7ffcaefe995f0418d783e7b692f (patch)
tree01fcb8d44a6c19eca10e84e111c016ccf9118b4d
parentb39b66f4aaa662f4739748377d6a172e1acd1601 (diff)
* bignum.c (maxpow_in_bdigit_dbl): Useless #if removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--bignum.c3
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d81358b7eea..009220d9718 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Mon Jul 15 11:24:48 2013 Tanaka Akira <akr@fsij.org>
+
+ * bignum.c (maxpow_in_bdigit_dbl): Useless #if removed.
+
Mon Jul 15 11:10:46 2013 Zachary Scott <e@zzak.io>
* bignum.c (rb_big_coerce): [DOC] Add docs for Bignum#coerce
diff --git a/bignum.c b/bignum.c
index 5cbd80f5c51..be52af6b9b4 100644
--- a/bignum.c
+++ b/bignum.c
@@ -402,8 +402,7 @@ maxpow_in_bdigit_dbl(int base, int *exp_ret)
assert(2 <= base && base <= 36);
{
-#if SIZEOF_BDIGIT_DBL == 0
-#elif SIZEOF_BDIGIT_DBL == 2
+#if SIZEOF_BDIGIT_DBL == 2
maxpow = maxpow16_num[base-2];
exponent = maxpow16_exp[base-2];
#elif SIZEOF_BDIGIT_DBL == 4