FLINT3.7.0-dev

n_randtest_not_zero

Synopsis#include <flint/ulong_extras.h>
ulong n_randtest_not_zero(flint_rand_t state)source

Like n_randtest, but never returns 0.

Cite this page

The FLINT team, “n_randtest_not_zero (ulong_extras.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/ulong_extras/n_randtest_not_zero.html (generated 2026-10-20).