COHERENT manpages

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

List of available manpages
Index


erand48() -- Random-Number Function (libc)

Return a 48-bit pseudo-random number as a double
double erand48(xsubi)
unsigned short xsubi[3];

Function erand48() generates  a 48-bit pseudo-random number, and returns it
in the  form of a  double. The value  returned is (or  should be) uniformly
distributed through  the range of  0.0 through 1.0.   xsubi is an  array of
three unsigned short integers from which the pseudo-random number is built.

See Also

libc,
srand48()