Move random() and setseed() to a separate table, to have them grouped
together. Also add a notice that random() is not cryptographically secure.
Original patch by Honza Horak, although I didn't use his version.
0.785398163397448
- |
-
-
-
- random()
-
- dp
- random value in the range 0.0 <= x < 1.0
- random()
-
-
-
|
42.44
- |
-
-
-
- setseed(dp)
-
- void
- set seed for subsequent random() calls (value between -1.0 and
- 1.0, inclusive)
- setseed(0.54823)
-
-
-
|
+ shows functions for
+ generating random numbers.
+
+
+
+
Random Functions
+
+
+
+ |
+ Function
+ Return Type
+ Description
+
+
+
+ |
+
+
+
+ random()
+
+ dp
+ random value in the range 0.0 <= x < 1.0
+
+
+ |
+
+
+
+ setseed(dp)
+
+ void
+ set seed for subsequent random() calls (value between -1.0 and
+ 1.0, inclusive)
+
+
+
+
+
+ The characteristics of the values returned by
+ random() depend
+ on the system implementation. It is not suitable for cryptographic
+ applications; see module for an alternative.
+
+
Finally, shows the
available trigonometric functions. All trigonometric functions