Skip to content
/ pcg Public

Quick and easy C interface for the PCG random number generator: http://www.pcg-random.org/

Notifications You must be signed in to change notification settings

saulfield/pcg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

PCG

This is simply a cleaned-up version of the C implementation on the PCG website: http://www.pcg-random.org/.

I have added basic helper functions like rand_unilat() and rand_bilat() as well as a global RNG stream for convenience.

I have also added platform-specific utility functions to get good entropy sources for the initial seed. I hope to add more platforms in the future.

About

Quick and easy C interface for the PCG random number generator: http://www.pcg-random.org/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages