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 590cf0d commit 64cfe4fCopy full SHA for 64cfe4f
doc/Type/Num.pod6
@@ -17,6 +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 method rand
21
+
22
+ method rand(Num:D:) returns Num
23
24
+Returns a pseudo random number between 0 and the invocant.
25
26
=head2 sub srand
27
28
sub srand(Int $seed) returns Int:D
0 commit comments