diff options
| author | cui fliter <imcusg@gmail.com> | 2022-08-05 20:10:20 +0800 |
|---|---|---|
| committer | cui fliter <imcusg@gmail.com> | 2022-08-05 20:10:20 +0800 |
| commit | dc8b7a0eb866d436cdaf4bb0c0dcd4c18962fa13 (patch) | |
| tree | b0f837441196b8c8ba6f138ebaf7d4572d7fd6bd /core/math | |
| parent | 8d1f46d837efdcebaf2e3660942a93337a230329 (diff) | |
fix some typos
Signed-off-by: cui fliter <imcusg@gmail.com>
Diffstat (limited to 'core/math')
| -rw-r--r-- | core/math/big/prime.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/big/prime.odin b/core/math/big/prime.odin index 3cce69675..6f972937a 100644 --- a/core/math/big/prime.odin +++ b/core/math/big/prime.odin @@ -449,7 +449,7 @@ internal_int_is_prime :: proc(a: ^Int, miller_rabin_trials := int(-1), miller_ra in the loop is non-zero, although very low. -- NOTE(Jeroen): This is not yet true in Odin, but I have some ideas. - If the BPSW test and/or the addtional Frobenious test have been + If the BPSW test and/or the additional Frobenious test have been performed instead of just the Miller-Rabin test with the bases 2 and 3, a single extra test should suffice, so such a very unlikely event will not do much harm. |