1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-23 19:57:40 +00:00

Merge pull request #763 from sogaiu/rng-uniform-doc-tweak

Tweak docstring for math/rng-uniform
This commit is contained in:
Calvin Rose
2021-08-14 19:10:45 -05:00
committed by GitHub

View File

@@ -141,8 +141,7 @@ JANET_CORE_FN(cfun_rng_make,
JANET_CORE_FN(cfun_rng_uniform,
"(math/rng-uniform rng)",
"Extract a random random integer in the range [0, max] from the RNG. If "
"no max is given, the default is 2^31 - 1."
"Extract a random number in the range [0, 1) from the RNG."
) {
janet_fixarity(argc, 1);
JanetRNG *rng = janet_getabstract(argv, 0, &janet_rng_type);