Added new goal for v0.5
This commit is contained in:
parent
003b94dcdb
commit
b5dcadce19
@ -22,3 +22,4 @@ Change Log
|
|||||||
- v0.5: Minor Changes
|
- v0.5: Minor Changes
|
||||||
- Use `size_t' instead of `unsigned long long int'.
|
- Use `size_t' instead of `unsigned long long int'.
|
||||||
- Minor optimizations to the algorithm.
|
- Minor optimizations to the algorithm.
|
||||||
|
- Added commandline argument parsing.
|
||||||
|
@ -65,7 +65,7 @@ nextPrime:
|
|||||||
mpz_add_ui(num, num, 2);
|
mpz_add_ui(num, num, 2);
|
||||||
} while(run);
|
} while(run);
|
||||||
|
|
||||||
printf("Found %zu primes\n", primes.end);
|
printf("Found %zu primes.\n", primes.end);
|
||||||
puts("Clearing memory...");
|
puts("Clearing memory...");
|
||||||
// Clear GMP variables
|
// Clear GMP variables
|
||||||
mpz_clear(halfNum);
|
mpz_clear(halfNum);
|
||||||
|
Loading…
Reference in New Issue
Block a user