Name | Procedure Type | Description |
---|---|---|
RAN | Intrinsic function | Returns the next number from a sequence of pseudorandom numbers of uniform distribution over the range 0 to 1. |
RANDOM_NUMBER | Intrinsic subroutine | Returns a pseudorandom real value greater than or equal to zero and less than one. |
RANDOM_SEED | Intrinsic subroutine | Changes the starting point of RANDOM_NUMBER; takes one or no arguments. |
RANDU | Intrinsic subroutine | Computes a pseudorandom number as a single-precision value. |
The portability routines RANDOM and SEED also supply this functionality.