diff options
-rw-r--r-- | big.c | 21 |
1 files changed, 15 insertions, 6 deletions
@@ -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; |