A pure Swift implementation of the PCG psuedo random number generator
varrng=PCGRand32(state:123)print(rng.next()) // 355248013PCG is a high quality number generator that allows you to generate high quality random numbers reproducibly based off of a seed.