We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 499b197 commit 590cf0dCopy full SHA for 590cf0d
doc/Type/Num.pod6
@@ -17,4 +17,12 @@ float point not-a-number value. It is defined and boolifies to True. C<NaN> is
17
the result of undefined float point number operations and depends on the CPU or
18
software implementation of float point numbers on the system running the code.
19
20
+=head2 sub srand
21
+
22
+ sub srand(Int $seed) returns Int:D
23
24
+Seeds the pseudo random number generator used by L<Num.rand|/typeNum#rand) with
25
+the provided value. Note that C<srand> is called with a platform dependent
26
+value when a Perl 6 program is started.
27
28
=end pod
0 commit comments