|
|
Power 6/32 Unix version 1.2b
.TH RAND 3F "18 July 1983" .UC 4 .SH NAME rand, drand, irand \- return random values .SH SYNOPSIS .B function irand (iflag) .sp 1 .B function rand (iflag) .sp 1 .B double precision function drand (iflag) .SH DESCRIPTION These functions use .IR rand (3C) to generate sequences of random numbers. If .I iflag is '1', the generator is restarted and the first random value is returned. If .I iflag is otherwise non-zero, it is used as a new seed for the random number generator, and the first new random value is returned. .PP .I Irand returns positive integers in the range 0 through 2147483647. .I Rand and .I drand return values in the range 0. through 1.0 . .SH FILES .ie \nM /usr/ucb/lib/libF77.a .el /usr/lib/libF77.a .SH "SEE ALSO" rand(3C) .SH BUGS
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.