Skip to main content

Module rng

Module rng 

Source
Expand description

Fast random number generation using rapidhash mixing.

Structs§

RapidRng
A random number generator that uses the rapidhash mixing algorithm.

Functions§

rapidrng_fast
Generate a random number using rapidhash mixing.
rapidrng_fast_not_portable
A lower quality version of rapidrng_fast with that’s slightly faster, with optimisations for u32 platforms and those without wide-arithmetic support.