Merge pull request #415 from postmath/fix_arb_urandom_docs

arb_urandom: the docs say it has an extra argument that's not actually there.
This commit is contained in:
Fredrik Johansson 2022-05-24 15:48:30 +02:00 committed by GitHub
commit 8b8654a5d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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