CX Framework
Cross-platform C utility framework
Loading...
Searching...
No Matches
PcgState Struct Reference

#include <pcg.h>

Data Fields

uint64 state
 RNG state - all values are possible.
 
uint64 inc
 Controls which RNG sequence (stream) is selected - must always be odd.
 

Detailed Description

PCG random number generator state

The internal state is private and should not be accessed directly. Always use the provided functions to manipulate and query the generator.

Definition at line 54 of file pcg.h.


The documentation for this struct was generated from the following file: