C program that shows how to count primes.
C program that shows how to count primes.
#include <inttypes.h>
#include <stdio.h>
int main()
{
printf("Primes <= 1000: %" PRIu64 "\n", count);
return 0;
}
uint64_t primesieve_count_primes(uint64_t start, uint64_t stop)
Count the primes within the interval [start, stop].