FLINT_TEST_INIT, FLINT_TEST_CLEAR
Synopsis
#include <flint/flint.h>FLINT_TEST_INIT(state)sourceFLINT_TEST_CLEAR(state)sourceUsed by test programs: FLINT_TEST_INIT(state) declares a flint_rand_t named state and initialises it (and the garbage collector, if used); FLINT_TEST_CLEAR(state) clears it and calls flint_cleanup_master.
Cite this page
The FLINT team, “FLINT_TEST_INIT, FLINT_TEST_CLEAR (flint.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/flint/FLINT_TEST_INIT.html (generated 2026-10-20).
@misc{flint-doc-flint-FLINT-TEST-INIT,
author = {{The FLINT team}},
title = {{FLINT\_TEST\_INIT, FLINT\_TEST\_CLEAR (flint.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/flint/FLINT_TEST_INIT.html},
note = {Generated 2026-10-20}
}