#rng #generator #numbers #splitmix64 #xoroshiro128 #xorshift1024-φ

xoroshiro

Xoroshiro128+, xorshift1024*φ and splitmix64 random number generators

4 releases (breaking)

Uses old Rust 2015

0.3.0 Jun 12, 2018
0.2.0 Nov 14, 2017
0.1.0 Nov 14, 2017
0.0.1 Jun 23, 2016

#106 in #rng

MIT/Apache

17KB
281 lines

xoroshiro

The crate is deprecated in favor of the xoshiro crate.

Status

Rust implementation of the xoroshiro128+, xorshift1024*φ and splitmix64 random number generators.

License

xoroshiro is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE, and LICENSE-MIT for details.

Other projects


lib.rs:

This crate is deprecated in favor of the xoshiro crate.

This crate provides the xoroshiro128+, xorshift1024*φ and splitmix64 random number generators.

It is recommended to use XoroShiro128 unless you need a period larger than 2^128 - 1, where XorShift1024 with a period of 2^1024 - 1 is more appropriate. SplitMix64 is only used to initialize the other generators, it should not be used directly, unless you are sure that a period of 2^64 - 1 is enough.

Dependencies

~185KB