summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2022-03-28 16:36:48 -0400
committerJakob Kaivo <jkk@ung.org>2022-03-28 16:36:48 -0400
commit5e3239b785ecd81cf9451d4da420dca916a00ad4 (patch)
treeed4299cefdf2898c28637a5f2b756f9372d86b65
parent84695a80b3704b18568d159f150f8435b8646114 (diff)
rename bigpow() to big_pow()
-rw-r--r--big.c2
-rw-r--r--big.h2
-rw-r--r--reduce.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/big.c b/big.c
index 06b7e57..675635a 100644
--- a/big.c
+++ b/big.c
@@ -599,7 +599,7 @@ word big_remainder(word x, word y)
dividend, quotient negative if signs of divi(sor/dend) mixed */
/* assumes y big_is_positive */
-word bigpow(word x, word y)
+word big_pow(word x, word y)
{
word d;
word r = make(INT, 1, 0);
diff --git a/big.h b/big.h
index 6a98f12..a8c3ae8 100644
--- a/big.h
+++ b/big.h
@@ -33,7 +33,7 @@ word big_remainder(word,word);
word big_negate(word);
word bigoscan(char *,char *);
word big_add(word,word);
-word bigpow(word,word);
+word big_pow(word,word);
word bigscan(char *);
void bigsetup(void);
word bigsub(word,word);
diff --git a/reduce.c b/reduce.c
index b5e7284..6b88409 100644
--- a/reduce.c
+++ b/reduce.c
@@ -2116,7 +2116,7 @@ L3: if(arg1==NIL)lexfail(lastarg);
fa=get_dbl(arg1),fb=big_tod(lastarg); else
if(big_is_negative(lastarg))
fa=big_tod(arg1),fb=big_tod(lastarg);
- else { simpl(bigpow(arg1,lastarg));
+ else { simpl(big_pow(arg1,lastarg));
goto DONE; }
errno=0; /* to clear */
setdbl(e,pow(fa,fb));