Browse files

document term rand

  • Loading branch information...
moritz committed Jul 3, 2012
1 parent c451a46 commit 765f530cf4ef0443b4e7a1ec2575ef65e8900fc0
Showing with 4 additions and 1 deletion.
  1. +4 −1 lib/Real.pod
@@ -16,10 +16,13 @@ Converts the number to a C<Rat> with the precision C<$epsilon>.
=head2 rand
- method rand(Real:D:)
+ sub term:<rand> returns Num:D
+ method rand(Real:D:) returns Real:D
Returns a pseudo-random number between zero and the number.
+The term form returns a pseudo-random C<Num> between 0e0 and 1e0.
=head2 sign
method sign(Real:D:)

0 comments on commit 765f530

Please sign in to comment.