acb_randtest, acb_randtest_special, acb_randtest_precise, acb_randtest_param
Synopsis
#include <flint/acb.h>void acb_randtest(acb_t z, flint_rand_t state, slong prec, slong mag_bits)sourcevoid acb_randtest_special(acb_t z, flint_rand_t state, slong prec, slong mag_bits)sourcevoid acb_randtest_precise(acb_t z, flint_rand_t state, slong prec, slong mag_bits)sourcevoid acb_randtest_param(acb_t z, flint_rand_t state, slong prec, slong mag_bits)sourceSet z to a random complex number for testing, with real and imaginary parts generated like those of arb_randtest: in general, with occasional NaN and infinities, with precise parts, and with a high probability of integers and half-integers (useful for parameters of special functions).
Cite this page
The FLINT team, “acb_randtest, acb_randtest_special, acb_randtest_precise, acb_randtest_param (acb.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/acb/acb_randtest.html (generated 2026-10-20).
@misc{flint-doc-acb-acb-randtest,
author = {{The FLINT team}},
title = {{acb\_randtest, acb\_randtest\_special, acb\_randtest\_precise, acb\_randtest\_param (acb.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/acb/acb_randtest.html},
note = {Generated 2026-10-20}
}