flint_rand_set_seed, flint_rand_get_seed
Synopsis
#include <flint/flint.h>void flint_rand_set_seed(flint_rand_t state, ulong seed1, ulong seed2)sourcevoid flint_rand_get_seed(ulong * seed1, ulong * seed2, flint_rand_t state)sourceSet or read the two words of the state. Setting the state to values read earlier repeats the sequence from that point.
Cite this page
The FLINT team, “flint_rand_set_seed, flint_rand_get_seed (flint.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/flint/flint_rand_set_seed.html (generated 2026-10-20).
@misc{flint-doc-flint-flint-rand-set-seed,
author = {{The FLINT team}},
title = {{flint\_rand\_set\_seed, flint\_rand\_get\_seed (flint.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/flint/flint_rand_set_seed.html},
note = {Generated 2026-10-20}
}