pub fn new(s: u32) -> Self {
        let mut seed = s & 0x7fffffffu32;
        // Avoid bad seeds.
        if seed == 0 || seed == 2147483647 {
            seed = 1;
        }
        Self {
            seed: Cell::new(seed),
        }
    }
/// Return a random number generator.
Return a random number generator.
Return a random number generator .
pub fn new(s: u32) -> Self {
        let mut seed = s & 0x7fffffffu32;
        // Avoid bad seeds.
        if seed == 0 || seed == 2147483647 {
            seed = 1;
        }
        Self {
            seed: Cell::new(seed),
        }
    }
pub fn new ( s : u32 ) -> Self { let mut seed = s & 0x7fffffffu32 ; // Avoid bad seeds. if seed == 0 || seed == 2147483647 { seed = 1 ; } Self { seed : Cell :: new ( seed ) , } }
Return a random number generator.
Return a random number generator .
s
u32
s
u32