Trait malachite_base::num::basic::traits::PrimeConstant
source · pub trait PrimeConstant {
const PRIME_CONSTANT: Self;
}
Expand description
Provides the prime constant, whose $n$th bit (starting from $n=1$) is true if and only if $n$ is prime.
Required Associated Constants§
const PRIME_CONSTANT: Self
Object Safety§
This trait is not object safe.
Implementations on Foreign Types§
source§impl PrimeConstant for f32
impl PrimeConstant for f32
The prime constant.
const PRIME_CONSTANT: f32 = 0.414682508f32
source§impl PrimeConstant for f64
impl PrimeConstant for f64
The prime constant.