FLINT3.7.0-dev

FLINT_TEST_INIT, FLINT_TEST_CLEAR

Synopsis#include <flint/flint.h>
FLINT_TEST_INIT(state)source
FLINT_TEST_CLEAR(state)source

Used 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).