RANDOM(3F) RANDOM(3F) NAME random, drandm, irandm - better random number generator SYNOPSIS function irandm (iflag) function random (iflag) double precision function drandm (iflag) DESCRIPTION These functions use _r_a_n_d_o_m(3) to generate sequences of random numbers, and should be used rather than the older functions described in _m_a_n _3_f _r_a_n_d_. If _i_f_l_a_g is non-zero, it is used as a new seed for the random number generator, and the first new random value is returned. _I_r_a_n_d_m returns positive integers in the range 0 through 2147483647 ( 2**31-1). _R_a_n_d_o_m and _d_r_a_n_d_m return values in the range 0. through 1.0 by dividing the integer random number from _r_a_n_d_o_m(3) by 2147483647 . FILES /usr/lib/libF77.a SEE ALSO random(3) 4.3 Berkeley Distribution May 15, 1985 RANDOM(3F)