.TH RAND 3F "18 July 1983"
rand, drand, irand \- return random values
.B function irand (iflag)
.B double precision function drand (iflag)
to generate sequences of random numbers.
is '1', the generator is restarted and the first random value is returned.
is otherwise non-zero, it is used as a new seed for the random number
generator, and the first new random value is returned.
returns positive integers in the range 0 through 2147483647.
return values in the range 0. through 1.0 .
.ie \nM /usr/ucb/lib/libF77.a
The algorithm returns a 15 bit quantity on the PDP11; a 31 bit quantity
twice to form a 31 bit quantity, but bit 15 will always be 0.