summaryrefslogtreecommitdiff
path: root/bignum.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-06-21 11:28:12 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-06-21 11:28:12 +0000
commitbbe805f09e48b5f2fd99b7cbadec69ccb73974e4 (patch)
tree8c5cfeeaf052b1d1acebc93243308bc4c0f18f83 /bignum.c
parente9482963fd31122788746f130c87dc088509cd46 (diff)
downloadbundler-bbe805f09e48b5f2fd99b7cbadec69ccb73974e4.tar.gz
internal.h: roomof
* internal.h (roomof): extract from type_roomof, and move from bignum.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bignum.c')
-rw-r--r--bignum.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/bignum.c b/bignum.c
index 17e8f701ff..a6d68d875b 100644
--- a/bignum.c
+++ b/bignum.c
@@ -98,7 +98,6 @@ STATIC_ASSERT(sizeof_long_and_sizeof_bdigit, SIZEOF_BDIGIT % SIZEOF_LONG == 0);
rb_absint_size(x, NULL))
#define BIGDIVREM_EXTRA_WORDS 1
-#define roomof(n, m) ((long)(((n)+(m)-1) / (m)))
#define bdigit_roomof(n) roomof(n, SIZEOF_BDIGIT)
#define BARY_ARGS(ary) ary, numberof(ary)