Home
last modified time | relevance | path

Searched refs:nprimes (Results 1 – 2 of 2) sorted by relevance

/coreutils/src/
Dmake-prime-list.c119 output_primes (const struct prime *primes, unsigned nprimes) in output_primes() argument
136 for (i = 0, p = 2; i < nprimes; i++) in output_primes()
138 unsigned int d8 = i + 8 < nprimes ? primes[i + 8].p - primes[i].p : 0xff; in output_primes()
190 unsigned nprimes; in main() local
212 nprimes = 0; in main()
219 process_prime (&prime_list[nprimes++], p); in main()
228 output_primes (prime_list, nprimes); in main()
/coreutils/tests/factor/
Dfactor-parallel.sh30 nprimes=$(seq 1e6 | odd | split -nr/4 --filter='factor' | primes | wc -l)
32 test "$nprimes" = '78498' || fail=1