c_prime/
sets.rs

1use crate::ptrait::Primality;
2use crate::iterators::Primes;
3
4/// Set of all 128-bit Primes
5pub const P : Primes<u128> = Primes::start(1u128);
6/// Set of all 64-bit primes
7pub const P64 : Primes<u64> = Primes::start(1u64);
8/// Set of all 32-bit signed primes 
9pub const P32 : Primes<u32> = Primes::start(1u32);
10/// Set of all 16-bit primes
11pub const P16 : Primes<u16> = Primes::start(1u16);
12/// Set of all 8-bit primes
13pub const P8 : Primes<u8> = Primes::start(1u8);
14/// Set of all 128-bit signed primes
15pub const P128I : Primes<i128> = Primes::start(i128::FIRST_PRIME);
16/// Set of all 64-bit signed primes
17pub const P64I : Primes<i64> = Primes::start(i64::FIRST_PRIME);
18/// Set of all 32-bit signed primes 
19pub const P32I : Primes<i32> = Primes::start(i32::FIRST_PRIME);
20/// Set of all 16-bit signed primes
21pub const P16I : Primes<i16> = Primes::start(i16::FIRST_PRIME);
22/// Set of all 8-bit signed primes
23pub const P8I : Primes<i8> = Primes::start(i8::FIRST_PRIME);
24/// Set of all 53-bit primes representable in 64-bit floating-point
25pub const P64F : Primes<f64> = Primes::start(f64::FIRST_PRIME);
26/// Set of all 24-bit primes representable in 64-bit floating-point
27pub const P32F : Primes<f32> = Primes::start(f32::FIRST_PRIME);
28