summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--big.c21
1 files changed, 15 insertions, 6 deletions
diff --git a/big.c b/big.c
index 4ea8726..356a8d2 100644
--- a/big.c
+++ b/big.c
@@ -16,13 +16,22 @@
#define MAX_INT_BITS 60
#define LONG_LONG_OVERFLOW (1ll<<MAX_INT_BITS)
+#define DIGITWIDTH 15
-#define PTEN 10000 /* largest power of ten < IBASE (used by bigscan) */
-#define PSIXTEEN 4096 /* largest power of sixteen <= IBASE (used by bigtostr) */
-#define PEIGHT 0100000 /* (=32768) largest power of eight <= IBASE (used by bigtostr) */
-#define TENW 4 /* number of factors of 10 in PTEN */
-#define OCTW 5 /* number of factors of 8 in IBASE */
-#define DIGITWIDTH 15
+/* largest power of ten < IBASE (used by bigscan) */
+#define PTEN 10000
+
+/* largest power of sixteen <= IBASE (used by bigtostr) */
+#define PSIXTEEN 4096
+
+/* (=32768) largest power of eight <= IBASE (used by bigtostr) */
+#define PEIGHT 0100000
+
+/* number of factors of 10 in PTEN */
+#define TENW 4
+
+/* number of factors of 8 in IBASE */
+#define OCTW 5
struct big_div {
word quo;