Skip to content

seo99ita/RandomSequence

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This C++ project implements a random number generator which outputs a unique 32-bit integer each time it's called, and verifies that the first 232 integers returns really are unique. The algorithm is described in the blog post How to Generate a Sequence of Unique Random Integers.

CMake is required to build.

To run the test on Windows:

  • Open a command prompt and navigate to the folder containing CMakeLists.txt.
  • mkdir build
  • cd build
  • cmake .. (You can optionally specify a toolchain using CMake's -G argument.)
  • cmake --build . --config Release
  • ctest .

LICENSE

Released to the public domain.

About

A random number generator which outputs a unique 32-bit integer each time it's called.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 90.0%
  • CMake 10.0%