Skip to content

Commit 64cfe4f

Browse files
committed
doc Num.rand
1 parent 590cf0d commit 64cfe4f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/Type/Num.pod6

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ float point not-a-number value. It is defined and boolifies to True. C<NaN> is
1717
the result of undefined float point number operations and depends on the CPU or
1818
software implementation of float point numbers on the system running the code.
1919
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+
2026
=head2 sub srand
2127
2228
sub srand(Int $seed) returns Int:D

0 commit comments

Comments
 (0)