rand(3F)
NAME
drand, irand, rand, srand − random number generator
SYNOPSIS
integer iseed, i
real r
double precision dp, drand
call srand(iseed)
i = irand()
r = rand()
dp = drand()
DESCRIPTION
irand generates successive pseudo-random numbers in the range from 0 to 2∗∗31-1. rand and drand generate pseudo-random numbers distributed in (0, 1.0). srand uses its integer argument to re-initialize the seed for successive invocations of irand, rand and drand
SEE ALSO
NOTES
When compiling source with the -Qocs option, an explicit underscore needs to be added to the end of the routine names.
CX/UX Hf77 Fortran Reference Manual