1RANDOM(3F) RANDOM(3F)
2
3
4
6 random, drandm, irandm - better random number generator
7
9 function irandm (iflag)
10
11 function random (iflag)
12
13 double precision function drandm (iflag)
14
16 These functions use random(3) to generate sequences of random numbers,
17 and should be used rather than the older functions described in man 3f
18 rand. If iflag is non-zero, it is used as a new seed for the random
19 number generator, and the first new random value is returned.
20
21 Irandm returns positive integers in the range 0 through 2147483647 (
22 2**31-1). Random and drandm return values in the range 0. through 1.0
23 by dividing the integer random number from random(3) by 2147483647 .
24
26 /usr/lib/libF77.a
27
29 random(3)
30
31
32
334.3 Berkeley Distribution May 15, 1985 RANDOM(3F)