aboutsummaryrefslogtreecommitdiffstats
path: root/man/zrand.3
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-03-25 13:33:41 +0100
committerMattias Andrée <maandree@kth.se>2016-03-25 13:33:41 +0100
commitc5f0bedd07467c089b0eca567828508abfcc9b6d (patch)
treee775444f4d2fccc46cbeb8825b54dfd4662127f1 /man/zrand.3
parentzrand: add MODUNIFORM and add tests for QUASIUNIFORM and MODUNIFORM (diff)
downloadlibzahl-c5f0bedd07467c089b0eca567828508abfcc9b6d.tar.gz
libzahl-c5f0bedd07467c089b0eca567828508abfcc9b6d.tar.bz2
libzahl-c5f0bedd07467c089b0eca567828508abfcc9b6d.tar.xz
zrand: add DEFAULT_RANDOM and FASTEST_RANDOM
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'man/zrand.3')
-rw-r--r--man/zrand.323
1 files changed, 23 insertions, 0 deletions
diff --git a/man/zrand.3 b/man/zrand.3
index 97100bc..6092c5e 100644
--- a/man/zrand.3
+++ b/man/zrand.3
@@ -18,6 +18,29 @@ selects the device
uses to generate random bits.
This value may be either of:
.TP
+.B DEFAULT_RANDOM
+This is a version-dependent alias for the
+default random number generator. That is,
+using this option will cause
+.B zrand
+to select the default random number generator.
+Which random number generator is actually
+selected may change between versions of
+.B zrand.
+
+The selection will be a balance between randomness
+and performance.
+.TP
+.B FASTEST_RANDOM
+This is a version-dependent alias for the
+fastest random number generator. That is,
+using this option will cause
+.B zrand
+to select the fastest random number generator.
+Which random number generator is actually
+selected may change between versions of
+.B zrand.
+.TP
.B FAST_RANDOM
The fast, non-blocking random number generator.
This is /dev/urandom on Linux.