Registry / utility / rand-xoshiro

rand-xoshiro

JSON →
library0.8.1rscratesunverified

Xoshiro, xoroshiro and splitmix64 random number generators for the rand crate.

# Cargo.toml [dependencies] rand_xoshiro = "0.8.1"
INSTALL
IMPORT
SIG · RAND-XOSHIRO
R
rand-xoshiro
utilityrustv0.8.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Xoshiro256StarStar
✓ use rand_xoshiro::Xoshiro256StarStar;

Creates a seeded Xoshiro256** RNG and generates a random number.

use rand_xoshiro::Xoshiro256StarStar; use rand::SeedableRng; use rand::Rng; fn main() { let mut rng = Xoshiro256StarStar::seed_from_u64(42); let val: u64 = rng.gen(); println!("{}", val); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.8.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
rand-xoshiro — cargo add rand-xoshiro · libregistry