4.4BSD/usr/share/man/cat3f/irandm.0

Compare this file to the similar file:
Show the results in this format:

F>=1  .if 3F<=8 .    if 3F>1 .if 3F<6 .ds an-extra3 "BSD Program-



RANDOM(3F)             BSD Reference Manual            RANDOM(3F)

mer's Manual
NNAAMMEE
       random, drandm, irandm - better random number generator

SSYYNNOOPPSSIISS
       ffuunnccttiioonn iirraannddmm ((iiffllaagg))

       ffuunnccttiioonn rraannddoomm ((iiffllaagg))

       ddoouubbllee pprreecciissiioonn ffuunnccttiioonn ddrraannddmm ((iiffllaagg))

DDEESSCCRRIIPPTTIIOONN
       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 .

FFIILLEESS
       /usr/lib/libF77.a

SSEEEE AALLSSOO
       random(3)


























4.3 Berkeley Distribution  June 5, 1993                         1