Interface
F_TYPE random (int *n)
Description
random() is a general random number generator. The argument
to the random function is an integer passed by reference. There
are no restrictions on the input argument, although it should be
initialized to different values on separate runs in order to obtain
different random sequences. This function must be called again
to obtain the next pseudorandom number. The argument is updated
automatically.
The result is a floating-point number that is uniformly distributed
in the interval (0.0,1.0).
Exceptions
None.