random

Pseudo-random number generation — PCG-64 thread-local PRNG with rand_seed reproducibility.

loft install random
use random;
Guidegetting started with random
Version0.3.6 — published 2026-10-06
CategoriesMathematics · Randomness
Requiresloft >=2026.10.0
CompatibilityAPI: drop-in for 0.3.0 and later · stored data: drop-in for 0.3.0 and later
Download18 kB
Public API7 items, with their documentation
Dependenciesnone
Used byno other registry package — you would be the first
Sourceread it here — the libraries are written in loft
Repositoryhttps://github.com/loft-lang/loft-libs-core/tree/main/random

A drop-in floor is the oldest release of this package the current one still replaces without a source change. Not declared means exactly that — the package has made no promise, which is the honest state for one published before the compatibility contract existed.

← All libraries