Skip to content

Pseudo random number generation library written in Rust

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

engusmaze/simple-rnd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple rnd

Tiny blazingly fast random number generation library.

examples/simple.rs
use simple_rnd::Rand;

fn main() {
    let mut rand = Rand::new(0); // The parameter is the starting value (seed)
    for _ in 0..16 {
        println!("{}", rand.next()); // rand.next() generates next u64 number
    }
}

About

Pseudo random number generation library written in Rust

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages