diff options
author | Jakob Kaivo <jkk@ung.org> | 2022-03-28 16:35:15 -0400 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2022-03-28 16:35:15 -0400 |
commit | fba0a90c7d18a2350d3a5f5da1d9b47c7763d557 (patch) | |
tree | 5f022d17e0850083df603660d854803185366be6 /big.c | |
parent | 8d2224f1227e8da595ff4db29d805908a91609bf (diff) |
rename bignegate() to big_negate()
Diffstat (limited to 'big.c')
-rw-r--r-- | big.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -417,7 +417,7 @@ long long big_toll(word x) return (sign ? -n : n); } -word bignegate(word x) +word big_negate(word x) { if (bigzero(x)) { return x; @@ -518,7 +518,7 @@ word bigtimes(word x, word y) y = rest(y); } - return (s != big_is_negative(x) ? bignegate(r) : r); + return (s != big_is_negative(x) ? big_negate(r) : r); } /* may assume y~=0 */ @@ -586,7 +586,7 @@ word big_remainder(word x, word y) } } - return (s1 ? bignegate(bd.rem) : bd.rem); + return (s1 ? big_negate(bd.rem) : bd.rem); } /* NB - above have entier based handling of signed cases (as Miranda) in |