From 3b89bde227c043133449f51f759f62b7fbcb5786 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Sun, 27 Mar 2022 20:06:43 -0400 Subject: rename poz() and neg() to big_is_positive() and big_is_negative() --- big.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'big.h') diff --git a/big.h b/big.h index ce8b91c..36d1ba2 100644 --- a/big.h +++ b/big.h @@ -17,8 +17,8 @@ #define digit0(x) (hd[x]&MAXDIGIT) #define digit(x) hd[x] #define rest(x) tl[x] -#define poz(x) (!(hd[x]&SIGNBIT)) -#define neg(x) (hd[x]&SIGNBIT) +#define big_is_positive(x) (!(hd[x]&SIGNBIT)) +#define big_is_negative(x) (hd[x]&SIGNBIT) #define bigzero(x) (!digit(x)&&!rest(x)) #define getsmallint(x) (hd[x]&SIGNBIT?-digit0(x):digit(x)) #define stosmallint(x) make(INT,(x)<0?SIGNBIT|(-(x)):(x),0) -- cgit v1.2.1