FLINT3.7.0-dev

arf_urandom

Synopsis#include <flint/arf.h>
void arf_urandom(arf_t x, flint_rand_t state, slong bits, arf_rnd_t rnd)source

Sets x to a uniformly distributed random number in [0, 1] with bits bits, obtained by rounding a random integer in the direction rnd.

Cite this page

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