COHERENT manpages

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

List of available manpages
Index


nrand48() -- Random-Number Function (libc)

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

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

See Also

libc,
srand48()