fmpzi_randtest
Synopsis
#include <flint/fmpzi.h>void fmpzi_randtest(fmpzi_t res, flint_rand_t state, flint_bitcnt_t bits)sourceSets res to a random element whose parts are drawn by fmpz_randtest with up to bits bits.
Cite this page
The FLINT team, “fmpzi_randtest (fmpzi.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpzi/fmpzi_randtest.html (generated 2026-10-20).
@misc{flint-doc-fmpzi-fmpzi-randtest,
author = {{The FLINT team}},
title = {{fmpzi\_randtest (fmpzi.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpzi/fmpzi_randtest.html},
note = {Generated 2026-10-20}
}