aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilherme Andrade <[email protected]>2017-03-22 21:49:38 +0000
committerGuilherme Andrade <[email protected]>2017-03-22 21:49:38 +0000
commit6f6c478401eefee1c8d7b200eb02d288739a7648 (patch)
treeb4b8071c61a1848672e7872f599fb056d55cc187
parent1f236ff5a8aaedc720b45420c3d53092435ecd52 (diff)
downloadotp-6f6c478401eefee1c8d7b200eb02d288739a7648.tar.gz
otp-6f6c478401eefee1c8d7b200eb02d288739a7648.tar.bz2
otp-6f6c478401eefee1c8d7b200eb02d288739a7648.zip
fixup! Support cryptographically strong rand plugin
Fix documented range (interval is half-open.)
-rw-r--r--lib/crypto/doc/src/crypto.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/crypto/doc/src/crypto.xml b/lib/crypto/doc/src/crypto.xml
index 3eee24769d..30835a8447 100644
--- a/lib/crypto/doc/src/crypto.xml
+++ b/lib/crypto/doc/src/crypto.xml
@@ -744,7 +744,7 @@
<pre>
_ = crypto:rand_seed(),
_IntegerValue = rand:uniform(42), % [1; 42]
-_FloatValue = rand:uniform(). % [0.0; 1.0]</pre>
+_FloatValue = rand:uniform(). % [0.0; 1.0[</pre>
</desc>
</func>