FLINT3.7.0-dev

d_randtest2

Synopsis#include <flint/double_interval.h>
double d_randtest2(flint_rand_t state)source

Returns a random non-NaN double \pm m 2^e with m from d_randtest and e uniform in [-1200, 1199], so that the result can also be zero (after underflow), subnormal or infinite.

Cite this page

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