envzn
0.8 · beta · not released

Library / System / Randomness / CasualRandom

CLASSIMPLEMENTS Random

CasualRandom

A fast, OS-seeded Random for games, sampling, jitter, and other non-reproducible, non-security uses. Seeds an xoshiro256** engine once at construction from operating-system entropy; thereafter it is a pure (fast) PRNG. NOT reproducible (the seed is fresh each time) and NOT for secrets — use SecureRandom for tokens/keys.

Constructors 1

INIT()

Methods 4

MODIFY METHOD nextInt(int64 bound) RETURNS int64
modifies
MODIFY METHOD nextUInt128() RETURNS uint128
modifies
MODIFY METHOD nextFloat() RETURNS float64
modifies
MODIFY METHOD nextBoolean() RETURNS boolean
modifies