Skip to content

About

LCG based PRNG in C

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SuperRandom

This is an LCG based PRNG in C. It was made as a safer version of this PRNG, though it is not quite as fast.

This PRNG is NOT zero sensitive, has a very long period and tries to mitigate the known issue of LCGs having bad quality lower bits.

See Main.c for usage examples.


I've found speeds of ~3 GB/s can be achieved on modern hardware, though YMMV.

About

LCG based PRNG in C

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages