Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
Random Number Intrinsic Procedures
The following table lists random number intrinsic procedures.
Name  |  
       Procedure Type  |  
       Description  |  
      
|---|---|---|
Intrinsic function  |  
       Returns the next number from a sequence of pseudorandom numbers of uniform distribution over the range 0 to 1.  |  
      |
Intrinsic function  |  
       Generates a random number between 0.0 and RAND_MAX.  |  
      |
Intrinsic subroutine  |  
       Initailizes the pseudorandom number generator used by RANDOM_NUMBER.  |  
      |
Intrinsic subroutine  |  
       Returns a pseudorandom real value greater than or equal to zero and less than one.  |  
      |
Intrinsic subroutine  |  
       Changes the starting point of RANDOM_NUMBER; takes one or no arguments.  |  
      |
Intrinsic subroutine  |  
       Computes a pseudorandom number as a single-precision value.  |  
      
The portability routines RANF, RANDOM, and SEED also supply this functionality.