Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works
Anything · Lazarus or Delphi
Random projectRandom project

PCG32-Random

PCG 32bits Random Number Generator

View on GitHub

Member rating

No ratings yet.

Sign in to rate this project.

README

PCG32Random

PCG 32bits Random Number Generator for Delphi.

PCG32_Random returns an unsigned 32 bits value OR an unbiased random number within the range 0 <= X < Range.

Three "Randomize" methods :

  • with System Time
  • with Windows GUID
  • with Truly random raw bytes from www.random.org

Based On :

PCG, A Family of Better Random Number Generators. PCG is a family of simple fast space-efficient statistically good algorithms for random number generation. Unlike many general-purpose RNGs, they are also hard to predict. Minimal C Implementation.

Copyright 2014 Melissa O'Neill oneill@pcg-random.org

For additional information about the PCG random number generation scheme, including its license and other licensing options, visit http://www.pcg-random.org