mirror of
https://github.com/vale981/arb
synced 2025-03-04 17:01:40 -05:00
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:
commit
8b8654a5d5
1 changed files with 1 additions and 1 deletions
|
@ -370,7 +370,7 @@ Random number generation
|
||||||
that representing the endpoints as exact rational numbers would
|
that representing the endpoints as exact rational numbers would
|
||||||
cause overflows.
|
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
|
Sets *x* to a uniformly distributed random number in the interval
|
||||||
`[0, 1]`. The method uses rounding from integers to floats, hence the
|
`[0, 1]`. The method uses rounding from integers to floats, hence the
|
||||||
|
|
Loading…
Add table
Reference in a new issue