Random number generator tested:

rand48
Minimum value: 0
Maximum value: 4294967295
Family: Linear Congruential
generator
Random number generator algorithms:
This is the Unix rand48 generator. Its sequence is
xn+1 = (a xn + c) mod m

defined on 48-bit unsigned integers with a = 25214903917, c = 11 and m = 248. The seed specifies the upper 32 bits of the initial value, x1, with the lower 16 bits set to 0x330E. The function gsl_rng_get returns the upper 32 bits from each term of the sequence. This does not have a direct parallel in the original rand48 functions, but forcing the result to type long int reproduces the output of mrand48. The function gsl_rng_uniform uses the full 48 bits of internal state to return the double precision number xn/m, which is equivalent to the function drand48. Note that some versions of the GNU C Library contained a bug in mrand48 function, which caused it to produce different results (only the lower 16-bits of the return value were set).