📄 rand.3f
字号:
.\" SCCSID: @(#)rand.3f 8.1 9/11/90.TH rand 3f VAX "" Unsupported.SH Namerand, drand, irand \- return random values.SH Syntax.B function irand (iflag).sp 1.B function rand (iflag).sp 1.B double precision function drand (iflag).SH Description.NXR "rand subroutine (FORTRAN)".NXR "drand subroutine (FORTRAN)".NXR "irand subroutine (FORTRAN)".NXR "random number generator"These functions use .MS rand 3to generate sequences of random numbers.If.I iflagis '1',the generator is restarted and the first random value is returned.If.I iflagis otherwise nonzero, it is used as a new seed for the random numbergenerator, and the first new random value is returned..SH RestrictionsThe algorithm returns a 31-bit quantity on the VAX..SH Return ValuesThe.PN irandsubroutinereturns positive integers in the range 0 through 2147483647.The.PN randand.PN drandsubroutines 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 Alsorand(3)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -