fn prime_density(bits: usize) -> f64 {
        let log2e = std::f64::consts::E.log2();
        let b = bits as f64;
        log2e / b - log2e * log2e / b / b
    }
/// Returns the probability that a number with `bits` bits is prime
Returns the probability that a number with `bits` bits is prime
Returns the probability that a number with ` bits ` bits is prime
fn prime_density(bits: usize) -> f64 {
        let log2e = std::f64::consts::E.log2();
        let b = bits as f64;
        log2e / b - log2e * log2e / b / b
    }
fn prime_density ( bits : usize ) -> f64 { let log2e = std :: f64 :: consts :: E . log2 ( ) ; let b = bits as f64 ; log2e / b - log2e * log2e / b / b }
Returns the probability that a number with `bits` bits is prime
Returns the probability that a number with ` bits ` bits is prime
bits
usize
bits
usize