mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
factor: simplify table count
* src/factor.c (PRIMES_PTAB_ENTRIES): Simplify.
This commit is contained in:
1 parent
74d791c4b0
commit
335f6fa2ec
1 file changed
+1
-2
+1
-2
@@ -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[] = {
|
||||
|
||||
Reference in new issue
Block a user