Added new goal for v0.5

This commit is contained in:
Nicolás A. Ortega 2016-12-14 17:31:36 +01:00
parent 003b94dcdb
commit b5dcadce19
No known key found for this signature in database
GPG Key ID: 614272579C2070D1
2 changed files with 2 additions and 1 deletions

View File

@ -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.

View File

@ -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);