aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/stdlib.app.src
diff options
context:
space:
mode:
authorKenji Rikitake <[email protected]>2015-04-20 14:27:26 +0200
committerDan Gudmundsson <[email protected]>2015-04-29 15:52:59 +0200
commit95aff702b5e4b21ec277b1e0125f639ce30f997a (patch)
tree32e795102fe7153164c780e93273fd0eeb16a646 /lib/stdlib/src/stdlib.app.src
parentc46ae84ffd858c8fa8ddb3bfbfb3607276173fb4 (diff)
downloadotp-95aff702b5e4b21ec277b1e0125f639ce30f997a.tar.gz
otp-95aff702b5e4b21ec277b1e0125f639ce30f997a.tar.bz2
otp-95aff702b5e4b21ec277b1e0125f639ce30f997a.zip
stdlib: Add new random functionality/module
The old random module contains an old algorithm which have flaws and the api requires the user to invoke seed and or checking if seed have been invoked, if a non constant seed is to be used. The api contains the following features: - The user can invoke rand:unform/[0|1] directly and get a non constant seeding. - The api is split in functional and non functional functions, i.e. usage of _s functions will not affect the process dictionary. - The api contains several algorithms with different characteristics and can be extended with new algorithms in the future. - Contains state of the art random number generators. - Default algorithm is taylor made for erlang to be fast on 64bits machines.
Diffstat (limited to 'lib/stdlib/src/stdlib.app.src')
-rw-r--r--lib/stdlib/src/stdlib.app.src1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/stdlib/src/stdlib.app.src b/lib/stdlib/src/stdlib.app.src
index a435d683a5..68c7ec07e3 100644
--- a/lib/stdlib/src/stdlib.app.src
+++ b/lib/stdlib/src/stdlib.app.src
@@ -83,6 +83,7 @@
qlc,
qlc_pt,
queue,
+ rand,
random,
re,
sets,