LCGgen

Name

LCGgen --  Linear Congruential Generator

Description

This classic generator relies on controlled overflow at 32 bits. This requires that unsigned be a 32bit value that follows ANSI C rules. Knuth claims that the adder c does not matter much, as long as it has no factors in common with the modulus 2^32.

NOT recommended for serious use; these are included for historical reasons (compatibility with earlier releases).

Protocols adopted by LCGgen

SimpleRandomGenerator

Methods

None

Rabisu Mirror Service We provide mirrors to support Open source communities. Our mirror server is located in Istanbul/Turkey region.

Please do not hesitate to contact mirror@rabisu.com for new open source mirror submissions.