big: Improve tunables.

This commit is contained in:
Jeroen van Rijn
2021-08-11 20:59:53 +02:00
parent d4a03acbc3
commit 777e17d80f
7 changed files with 100 additions and 69 deletions
+3 -3
View File
@@ -360,7 +360,7 @@ int_root_n :: proc(dest, src: ^Int, n: int) -> (err: Error) {
}
if c, err = cmp(t1, t2); c == 0 { break; }
iterations += 1;
if iterations == _MAX_ITERATIONS_ROOT_N {
if iterations == MAX_ITERATIONS_ROOT_N {
return .Max_Iterations_Reached;
}
}
@@ -383,7 +383,7 @@ int_root_n :: proc(dest, src: ^Int, n: int) -> (err: Error) {
}
iterations += 1;
if iterations == _MAX_ITERATIONS_ROOT_N {
if iterations == MAX_ITERATIONS_ROOT_N {
return .Max_Iterations_Reached;
}
}
@@ -401,7 +401,7 @@ int_root_n :: proc(dest, src: ^Int, n: int) -> (err: Error) {
}
iterations += 1;
if iterations == _MAX_ITERATIONS_ROOT_N {
if iterations == MAX_ITERATIONS_ROOT_N {
return .Max_Iterations_Reached;
}
}