summaryrefslogtreecommitdiff
path: root/big.h
diff options
context:
space:
mode:
Diffstat (limited to 'big.h')
-rw-r--r--big.h4
1 files changed, 2 insertions, 2 deletions
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)