next up previous
Next: Problems with Linear Up: Types of Generators Previous: Choosing the Parameters

Some Good Parameter Choices for LCGs

32-bit

A=69069, C=0 or 1, M= (VAX)

A=1664525, C=0, M= (transputers)

A=16807, C=0, M= (some IBM systems)

A=1103515245, C=12345, M= (UNIX rand routine)

48-bit

A=5DEECE66D, C=B, M= (UNIX drand48 routine)

A=, C=0, M= (CDC vector machines)

A=2875A2E7B175, C=0, M= (Cray vector machines)

64-bit

A=, C=0, M= (Numerical Algorithms Group)



Paul Coddington, Northeast Parallel Architectures Center at Syracuse University, paulc@npac.syr.edu