#random

rng

Random number generators

1 unstable release

Uses old Rust 2015

0.1.0 Nov 8, 2016

#624 in #random

Download history 142/week @ 2024-07-22 89/week @ 2024-07-29 127/week @ 2024-08-05 99/week @ 2024-08-12 106/week @ 2024-08-19 167/week @ 2024-08-26 158/week @ 2024-09-02 198/week @ 2024-09-09 197/week @ 2024-09-16 312/week @ 2024-09-23 204/week @ 2024-09-30 195/week @ 2024-10-07 265/week @ 2024-10-14 236/week @ 2024-10-21 236/week @ 2024-10-28 298/week @ 2024-11-04

1,044 downloads per month
Used in 3 crates

BSD-2-Clause

4KB
109 lines

librng

This Rust library contains implementations of random number generators, as well as auxiliary RNG traits.

Currently, it contains an implementation of the original xorshift128+ RNG (https://arxiv.org/pdf/1404.0390v1.pdf), where the addition is done after the shifts.

Dependencies

~330–560KB