diff options
author | Jakob Kaivo <jkk@ung.org> | 2022-03-28 16:19:27 -0400 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2022-03-28 16:19:27 -0400 |
commit | 78b0ad5c296c186b04926621a7663a5c5bc139b6 (patch) | |
tree | d50984d49dfde38ad5df6f6aecf08778493dc1a2 | |
parent | 69a209875107dce06174442d214c92f2fe748aae (diff) |
reformat constants for readability
-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; |