aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/doc/src/random.xml
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2015-04-28 14:37:33 +0200
committerDan Gudmundsson <[email protected]>2015-04-30 13:06:58 +0200
commit401bf07f5908137cde206f2f755af83c9a7ff71e (patch)
tree2771a5b1bc341b13458209b66a16c51f5c0bdc04 /lib/stdlib/doc/src/random.xml
parent95aff702b5e4b21ec277b1e0125f639ce30f997a (diff)
downloadotp-401bf07f5908137cde206f2f755af83c9a7ff71e.tar.gz
otp-401bf07f5908137cde206f2f755af83c9a7ff71e.tar.bz2
otp-401bf07f5908137cde206f2f755af83c9a7ff71e.zip
stdlib: Document and add normal distributed random value function
It is needed in various tests. It uses the Ziggurat algorithm, which is the fastest that I know.
Diffstat (limited to 'lib/stdlib/doc/src/random.xml')
-rw-r--r--lib/stdlib/doc/src/random.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/stdlib/doc/src/random.xml b/lib/stdlib/doc/src/random.xml
index 2cc621ffc3..e475cda23d 100644
--- a/lib/stdlib/doc/src/random.xml
+++ b/lib/stdlib/doc/src/random.xml
@@ -48,6 +48,9 @@
<p>It should be noted that this random number generator is not cryptographically
strong. If a strong cryptographic random number generator is needed for
example <c>crypto:rand_bytes/1</c> could be used instead.</p>
+ <note><p>The new and improved <seealso
+ marker="stdlib:rand">rand</seealso> module should be used
+ instead of this module.</p></note>
</description>
<datatypes>
<datatype>