factor: simplify table count

* src/factor.c (PRIMES_PTAB_ENTRIES): Simplify.
This commit is contained in:
Paul Eggert committed 2024-09-27 17:42:59 -07:00
1 parent 74d791c4b0
commit 335f6fa2ec
1 file changed
+1 -2
+1 -2
View File
@@ -637,8 +637,7 @@ static const unsigned char primes_diff[] = {
};
#undef P
#define PRIMES_PTAB_ENTRIES \
(sizeof (primes_diff) / sizeof (primes_diff[0]) - 8 + 1)
#define PRIMES_PTAB_ENTRIES (ARRAY_CARDINALITY (primes_diff) - 8 + 1)
#define P(a,b,c,d) b,
static const unsigned char primes_diff8[] = {