Commit 23b8d988 authored by Nicolás Ortega Froysa's avatar Nicolás Ortega Froysa
Browse files

Added useful comments.

parent 84687f86
......@@ -40,7 +40,7 @@ int main() {
mpz_t p0, p1; // numbers to be tested for prime-ness.
mpz_inits(test_base, p0, p1, NULL);
mpz_set_ui(test_base, 6);
mpz_set_ui(test_base, 6); // test_base = 6*k
puts("2");
puts("3");
......@@ -61,7 +61,7 @@ int main() {
printf("\n");
}
mpz_add_ui(test_base, test_base, 6);
mpz_add_ui(test_base, test_base, 6); // k += 1
}
mpz_clears(test_base, p0, p1, NULL);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment