diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-13 15:38:52 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-13 15:38:52 +0000 |
commit | 651f762c17ba23061868a9e83fa7822621d2de86 (patch) | |
tree | 02fb416b583e3f2109e8049d4cc0be78b139ec39 | |
parent | 75a86e4733faf3f5a26aa08745e407c061d178c3 (diff) | |
download | ruby-651f762c17ba23061868a9e83fa7822621d2de86.tar.gz |
* 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-- | ChangeLog | 5 | ||||
-rw-r--r-- | bignum.c | 6 |
2 files changed, 5 insertions, 6 deletions
@@ -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. @@ -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)) |