aboutsummaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2019-07-19 13:31:53 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2019-07-19 13:31:53 -0300
commit2f22c6bb79d209a55b3fc8e0b2d9c9f89f038174 (patch)
tree9fcece0aa1fa65f52b547c51e3c39181815f0887 /manual
parent3c0d3c6fbeea18f257102c62a01b036c7a5c5161 (diff)
downloadlua-2f22c6bb79d209a55b3fc8e0b2d9c9f89f038174.tar.gz
lua-2f22c6bb79d209a55b3fc8e0b2d9c9f89f038174.tar.bz2
lua-2f22c6bb79d209a55b3fc8e0b2d9c9f89f038174.zip
'math.randomseed' always returns the two seed components
Diffstat (limited to 'manual')
-rw-r--r--manual/manual.of6
1 files changed, 4 insertions, 2 deletions
diff --git a/manual/manual.of b/manual/manual.of
index 7f2596fa..1646f113 100644
--- a/manual/manual.of
+++ b/manual/manual.of
@@ -7798,8 +7798,10 @@ The default for @id{y} is zero.
7798When called with no arguments, 7798When called with no arguments,
7799Lua generates a seed with 7799Lua generates a seed with
7800a weak attempt for randomness. 7800a weak attempt for randomness.
7801In this case, 7801
7802the call returns the two seed components that were used. 7802This function returns the two seed components
7803that were effectively used,
7804so that setting them again repeats the sequence.
7803 7805
7804To ensure a required level of randomness to the initial state 7806To ensure a required level of randomness to the initial state
7805(or contrarily, to have a deterministic sequence, 7807(or contrarily, to have a deterministic sequence,