|
|
1.1 ! root 1: .TH RAND 3F "18 July 1983" ! 2: .UC 4 ! 3: .SH NAME ! 4: rand, drand, irand \- return random values ! 5: .SH SYNOPSIS ! 6: .B function irand (iflag) ! 7: .sp 1 ! 8: .B function rand (iflag) ! 9: .sp 1 ! 10: .B double precision function drand (iflag) ! 11: .SH DESCRIPTION ! 12: These functions use ! 13: .IR rand (3C) ! 14: to generate sequences of random numbers. ! 15: If ! 16: .I iflag ! 17: is '1', the generator is restarted and the first random value is returned. ! 18: If ! 19: .I iflag ! 20: is otherwise non-zero, it is used as a new seed for the random number ! 21: generator, and the first new random value is returned. ! 22: .PP ! 23: .I Irand ! 24: returns positive integers in the range 0 through 2147483647. ! 25: .I Rand ! 26: and ! 27: .I drand ! 28: return values in the range 0. through 1.0 . ! 29: .SH FILES ! 30: .ie \nM /usr/ucb/lib/libF77.a ! 31: .el /usr/lib/libF77.a ! 32: .SH "SEE ALSO" ! 33: rand(3C) ! 34: .SH BUGS
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.