Function renaming and moving.
This commit is contained in:
6 files changed
+48
-47
No files matched your search
+3
-4
@@ -49,8 +49,8 @@ void clear_global_table() {
|
||||
}
|
||||
|
||||
int main() {
|
||||
node_pool_init(20000000);
|
||||
q_init(20000000);
|
||||
// Good for p = 7: 80000000
|
||||
node_pool_init(160000000);
|
||||
|
||||
int mode = 0, print_mode = 0;
|
||||
int128_t a0 = 10, b0 = 6, c0 = 0, sum = 0;
|
||||
@@ -100,7 +100,7 @@ int main() {
|
||||
}
|
||||
else if (mode == 2) {
|
||||
clear_global_table(); /* Reset unique root tracker */
|
||||
int p = 6;
|
||||
int p = 7;
|
||||
int exponents[3] = {2*p + 2, p, p};
|
||||
int128_t values[3] = {4 * power(a0, p) * power(b0, p), power(a0, p), power(b0, p)};
|
||||
generate_factor_pairs(&sum, 0, exponents, values, 1, print_mode);
|
||||
@@ -110,6 +110,5 @@ int main() {
|
||||
}
|
||||
|
||||
node_pool_destroy();
|
||||
q_destroy();
|
||||
return 0;
|
||||
}
|
||||
Reference in new issue
Block a user