package
Version:
v0.1.2
Opens a new window with list of versions in this module.
Published: Jun 13, 2023
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package spcg provides a stateless implementation of a PCG random
number generator.
The implementation is copied almost verbatim from
golang.org/x/exp/rand.
Next returns the next random number in the PCG sequence, along with
the high and low bits for getting the number after the one
returned.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.