COHERENT manpages

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

List of available manpages
Index


mrand48() -- Random-Number Function (libc)

Return a 48-bit pseudo-random number as a long integer
long mrand48();

Function mrand48() generates a 48-bit random number, then returns its high-
order 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.

See Also

libc,
srand48()