FLINT3.7.0-dev

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)source
void acb_randtest_special(acb_t z, flint_rand_t state, slong prec, slong mag_bits)source
void acb_randtest_precise(acb_t z, flint_rand_t state, slong prec, slong mag_bits)source
void acb_randtest_param(acb_t z, flint_rand_t state, slong prec, slong mag_bits)source

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