summaryrefslogtreecommitdiff
path: root/big.c
diff options
context:
space:
mode:
Diffstat (limited to 'big.c')
-rw-r--r--big.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/big.c b/big.c
index 3d7f84b..06b7e57 100644
--- a/big.c
+++ b/big.c
@@ -429,7 +429,7 @@ word big_negate(word x)
return make(INT, SIGNBIT | hd[x], tl[x]);
}
-word bigplus(word x, word y)
+word big_add(word x, word y)
{
if (big_is_positive(x)) {
if (big_is_positive(y)) {
@@ -513,7 +513,7 @@ word bigtimes(word x, word y)
word s = big_is_negative(y);
for (word n = 0, d = digit0(y); y; n++, d = digit(y)) {
if (d) {
- r = bigplus(r, big__shift(n, big__stimes(x, d)));
+ r = big_add(r, big__shift(n, big__stimes(x, d)));
}
y = rest(y);