rand(3f) — VAX — Unsupported
Name
rand, drand, irand − return random values
Syntax
function irand (iflag) function rand (iflag) double precision function drand (iflag)
Description
These functions use rand() to generate sequences of random numbers. If iflag is ’1’, the generator is restarted and the first random value is returned. If iflag is otherwise nonzero, it is used as a new seed for the random number generator, and the first new random value is returned.
Return Value
The irand subroutine returns positive integers in the range 0 through 2147483647. The rand and drand subroutines return values in the range 0. through 1.0.
Restrictions
The algorithm returns a 31-bit quantity on the VAX.
Files
/usr/lib/libF77.a