This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#include <stdint.h> | |
// pcg32_next() implementation matches pcg_engines::oneseq_xsh_rr_64_32 | |
// NOTE: use this only for compatibility with 32-bit architectures | |
// otherwise prefer using pcg64.h implementation with 128-bit state | |
typedef struct { |