~tsukii/linearrng

Simple implementation of Linear Congruential Generator (LCG) in Go
072908b3 — Dang Hoang Tuan (Tsuki) 2 years ago
Add `License` section
7def3590 — Dang Hoang Tuan (Tsuki) 2 years ago
Initial commit

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~tsukii/linearrng
read/write
git@git.sr.ht:~tsukii/linearrng

You can also use your local clone with git send-email.

#LinearRNG

LinearRNG is a simple implementation of Linear Congruential Generator (or LCG). It's one of the most well known Pseudo Random Number Generator (PRNG). LinearRNG is written in Go, as my first project in Go since a few months ago.

#Features

  • No dependencies
  • Dead simple
  • Input validation
  • Contained in a single file

#Get started

Clone this repo, then run:

go build
./linearrng

#License

MIT

Do not follow this link