aboutsummaryrefslogtreecommitdiff
path: root/core/math/pcg.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Replace the existing PRNG (Xorshift31) with (minimal) PCG (XSH-RR variant ↵Ferenc Arn2017-01-151-0/+15
with 32-bit output, 64-bit state). PCG is better than many alternatives by many metrics (see www.pcg-random.org) including statistical quality with good speed.