summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-09-01 06:21:52 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-09-01 06:21:52 +0000
commit34004844cd9cf1476f5f2de78d373fc00032d041 (patch)
treef8e8343e296a83b18061fbe2990197a982232126
parent6fe40011a8a4f443248962a1dd6d9f590270a15a (diff)
* bignum.c (big2str_2bdigits): Renamed from big2str_orig.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--bignum.c8
2 files changed, 8 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 3b504f685d..d1958746c0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sun Sep 1 15:21:21 2013 Tanaka Akira <akr@fsij.org>
+
+ * bignum.c (big2str_2bdigits): Renamed from big2str_orig.
+
Sun Sep 1 13:02:24 2013 Tanaka Akira <akr@fsij.org>
* bignum.c: Remove BITSPERDIG >= INT_MAX test. The static assertion,
diff --git a/bignum.c b/bignum.c
index fc1ac8cb55..91e931e36c 100644
--- a/bignum.c
+++ b/bignum.c
@@ -4194,7 +4194,7 @@ big2str_alloc(struct big2str_struct *b2s, size_t len)
}
static void
-big2str_orig(struct big2str_struct *b2s, BDIGIT *xds, size_t xn, size_t taillen)
+big2str_2bdigits(struct big2str_struct *b2s, BDIGIT *xds, size_t xn, size_t taillen)
{
size_t j;
BDIGIT_DBL num;
@@ -4272,7 +4272,7 @@ big2str_karatsuba(struct big2str_struct *b2s, BDIGIT *xds, size_t xn, size_t wn,
}
if (power_level == 0) {
- big2str_orig(b2s, xds, xn, taillen);
+ big2str_2bdigits(b2s, xds, xn, taillen);
return;
}
@@ -4300,7 +4300,7 @@ big2str_karatsuba(struct big2str_struct *b2s, BDIGIT *xds, size_t xn, size_t wn,
memset(b2s->ptr, '0', len);
b2s->ptr += len;
}
- big2str_orig(b2s, xds, xn, taillen);
+ big2str_2bdigits(b2s, xds, xn, taillen);
}
else {
BDIGIT *qds, *rds;
@@ -4448,7 +4448,7 @@ rb_big2str1(VALUE x, int base)
b2s_data.ptr = NULL;
if (power_level == 0) {
- big2str_orig(&b2s_data, xds, xn, 0);
+ big2str_2bdigits(&b2s_data, xds, xn, 0);
}
else {
VALUE tmpw = 0;