summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2022-08-05 13:13:11 +0200
committerYves Orton <demerphq@gmail.com>2022-08-12 22:29:05 +0200
commit08da5deb5d0c842dab3fe5f4f5a450972a0eb67c (patch)
treed1872e3151d35b7be0dd780516b13a62eefed751 /INSTALL
parenta714ff68ef775fc8b6f8e762cb082d592841d4e2 (diff)
downloadperl-08da5deb5d0c842dab3fe5f4f5a450972a0eb67c.tar.gz
hv.c/handy.h - move logic from hv.c to handy.h
These mathematical/RNG functions are handy for various internal uses, so expose them in a way they can be reused. These are Marsaglia RNG "permutation" XORSHIFT triplets, from the famous article he wrote on fast random number generation. By modern standards they are only mediocre as far as RNGs go, but they still aren't bad. But they are very fast, and have a few useful properties which can be handy in places where we want a cheap source of pseudo random bits, or where we want to get a random(ish) sequence of positive integers. This will be used in a follow up patch.
Diffstat (limited to 'INSTALL')
0 files changed, 0 insertions, 0 deletions