Searched refs:nprimes (Results 1 – 2 of 2) sorted by relevance
119 output_primes (const struct prime *primes, unsigned nprimes) in output_primes() argument136 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() local212 nprimes = 0; in main()219 process_prime (&prime_list[nprimes++], p); in main()228 output_primes (prime_list, nprimes); in main()
30 nprimes=$(seq 1e6 | odd | split -nr/4 --filter='factor' | primes | wc -l)32 test "$nprimes" = '78498' || fail=1