COHERENT manpages

This page displays the COHERENT manpage for jrand48() [Return a 48-bit pseudo-random number as a long integer].

List of available manpages
Index


jrand48() -- Random-Number Function (libc)

Return a 48-bit pseudo-random number as a long integer
long jrand48(xsubi)
unsigned short xsubi[3];

Function jrand48() generates a 48-bit pseudo-random number, and returns its
upper 32 bits  in the form of a long.  The value returned is (or should be)
uniformly distributed throughout the range of -2^31 through 2^31.  xsubi is
an  array of  three unsigned  short integers  from which  the pseudo-random
number is built.

See Also

libc,
srand48()