Skip to content
/ SwiftPCG Public

A pure Swift implementation of the PCG psuedo random number generator

License

Notifications You must be signed in to change notification settings

vdka/SwiftPCG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SwiftPCG

A pure Swift implementation of the PCG psuedo random number generator

var rng = PCGRand32(state: 123)

print(rng.next()) // 355248013

PCG is a high quality number generator that allows you to generate high quality random numbers reproducibly based off of a seed.

About

A pure Swift implementation of the PCG psuedo random number generator

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages