summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-07-13 15:38:52 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-07-13 15:38:52 +0000
commit651f762c17ba23061868a9e83fa7822621d2de86 (patch)
tree02fb416b583e3f2109e8049d4cc0be78b139ec39
parent75a86e4733faf3f5a26aa08745e407c061d178c3 (diff)
* bignum.c (DIGSPERLONG): Unused macro removed.
(DIGSPERLL): Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--bignum.c6
2 files changed, 5 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 6f2a7156aab..12f7836634d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sun Jul 14 00:36:03 2013 Tanaka Akira <akr@fsij.org>
+
+ * bignum.c (DIGSPERLONG): Unused macro removed.
+ (DIGSPERLL): Ditto.
+
Sun Jul 14 00:32:51 2013 Tanaka Akira <akr@fsij.org>
* bignum.c (rb_big_aref): Less scan when the number is negative.
diff --git a/bignum.c b/bignum.c
index 9a4d032e428..0585600dd95 100644
--- a/bignum.c
+++ b/bignum.c
@@ -65,12 +65,6 @@ STATIC_ASSERT(rbignum_embed_len_max, RBIGNUM_EMBED_LEN_MAX <= (RBIGNUM_EMBED_LEN
#define BIGRAD ((BDIGIT_DBL)1 << BITSPERDIG)
#define BIGRAD_HALF ((BDIGIT)(BIGRAD >> 1))
#define BDIGIT_MSB(d) (((d) & BIGRAD_HALF) != 0)
-#if SIZEOF_LONG >= SIZEOF_BDIGITS
-# define DIGSPERLONG (SIZEOF_LONG/SIZEOF_BDIGITS)
-#endif
-#if defined(HAVE_LONG_LONG) && SIZEOF_LONG_LONG >= SIZEOF_BDIGITS
-# define DIGSPERLL (SIZEOF_LONG_LONG/SIZEOF_BDIGITS)
-#endif
#define BIGUP(x) LSHIFTX(((x) + (BDIGIT_DBL)0), BITSPERDIG)
#define BIGDN(x) RSHIFT((x),BITSPERDIG)
#define BIGLO(x) ((BDIGIT)((x) & BDIGMAX))