We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
fast_test
is_prime
1 parent 6fc4e9f commit d6d7ad7Copy full SHA for d6d7ad7
src/check.rs
@@ -7,6 +7,8 @@ use crate::integer_math::{mod_mul, mod_pow};
7
/// Does trial division with a small wheel up to `log2(n)` and then uses a
8
/// deterministic Miller-Rabin primality test.
9
///
10
+/// If the `fast_test` feature is enabled this function instead calls [`machine_prime::is_prime`] with the `small` feature.
11
+///
12
/// # Example
13
14
/// Basic usage:
0 commit comments