diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2021-08-02 22:23:39 +0200 |
|---|---|---|
| committer | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2021-08-11 20:59:52 +0200 |
| commit | 627872db979585d70c0e19811345e440e253ce88 (patch) | |
| tree | 8a2643910072743b3684887d86aff33784897d6a /core/math/big/common.odin | |
| parent | a27612ec6a69b6a0ee9bd039683551daf87e5cd3 (diff) | |
big: Timed `factorial`.
Diffstat (limited to 'core/math/big/common.odin')
| -rw-r--r-- | core/math/big/common.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/big/common.odin b/core/math/big/common.odin index bcda658b0..5a51c7405 100644 --- a/core/math/big/common.odin +++ b/core/math/big/common.odin @@ -45,7 +45,7 @@ _MAX_ITERATIONS_ROOT_N :: 500; /* Largest `N` for which we'll compute `N!` */ -_FACTORIAL_MAX_N :: 100_000; +_FACTORIAL_MAX_N :: 1_000_000; /* Cutoff to switch to int_factorial_binary_split, and its max recursion level. |