From fba0a90c7d18a2350d3a5f5da1d9b47c7763d557 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Mon, 28 Mar 2022 16:35:15 -0400 Subject: rename bignegate() to big_negate() --- big.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'big.c') diff --git a/big.c b/big.c index 8396d48..3d7f84b 100644 --- a/big.c +++ b/big.c @@ -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 -- cgit v1.2.1