From 266b9430fdc2c53f0a6e7753ddfb537bfdcd0b6a Mon Sep 17 00:00:00 2001 From: postmath Date: Thu, 7 Apr 2022 13:15:03 -0400 Subject: [PATCH] arb_urandom: the docs say it has an extra argument that's not actually there. --- doc/source/arb.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/arb.rst b/doc/source/arb.rst index 70837041..4f4bee95 100644 --- a/doc/source/arb.rst +++ b/doc/source/arb.rst @@ -370,7 +370,7 @@ Random number generation that representing the endpoints as exact rational numbers would cause overflows. -.. function:: void arb_urandom(arb_t x, flint_rand_t state, slong prec, arf_rnd_t rnd) +.. function:: void arb_urandom(arb_t x, flint_rand_t state, slong prec) Sets *x* to a uniformly distributed random number in the interval `[0, 1]`. The method uses rounding from integers to floats, hence the