Skip to content

ndr3www/LCG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🎲 About

A linear congruential generator is a simple RNG that produces a sequence of psuedorandom numbers using a discontinuous piecewise linear equation. The algorithm is well known for it's high performance and ease of use.
This particular implementation is capable of generating sequences of positive and negative integers and floating-point values.

Note

Support for the latest C23 standard is required since the library uses a variable integer widths _BitInt()