fn is_prime(n: u32) -> boolExpand description
Simple but effective prime number check trying to identify composite numbers quickly and to test as few factors as possible.
fn is_prime(n: u32) -> boolSimple but effective prime number check trying to identify composite numbers quickly and to test as few factors as possible.