aboutsummaryrefslogtreecommitdiff
path: root/core/math/big/common.odin
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2021-07-31 18:58:46 +0200
committerJeroen van Rijn <Kelimion@users.noreply.github.com>2021-08-11 20:59:52 +0200
commitdb0196abc74b1ddf3ad7fa39d2143de2460b3500 (patch)
treefe752143a8cebb62797927db120a971efaad378e /core/math/big/common.odin
parent149c7b88dfa8aa23d598ed5d4be4d938969a4772 (diff)
big: Test `root_n`.
Diffstat (limited to 'core/math/big/common.odin')
-rw-r--r--core/math/big/common.odin2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/math/big/common.odin b/core/math/big/common.odin
index f030f111a..32d7b938f 100644
--- a/core/math/big/common.odin
+++ b/core/math/big/common.odin
@@ -35,6 +35,8 @@ _DEFAULT_SQR_KARATSUBA_CUTOFF :: 120;
_DEFAULT_MUL_TOOM_CUTOFF :: 350;
_DEFAULT_SQR_TOOM_CUTOFF :: 400;
+_MAX_ITERATIONS_ROOT_N :: 500;
+
Sign :: enum u8 {
Zero_or_Positive = 0,
Negative = 1,