diff options
author | Jakob Kaivo <jkk@ung.org> | 2022-03-28 16:36:48 -0400 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2022-03-28 16:36:48 -0400 |
commit | 5e3239b785ecd81cf9451d4da420dca916a00ad4 (patch) | |
tree | ed4299cefdf2898c28637a5f2b756f9372d86b65 | |
parent | 84695a80b3704b18568d159f150f8435b8646114 (diff) |
rename bigpow() to big_pow()
-rw-r--r-- | big.c | 2 | ||||
-rw-r--r-- | big.h | 2 | ||||
-rw-r--r-- | reduce.c | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -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); @@ -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); @@ -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)); |