Skip to content
/ XSRlib Public

A lightweight Library of XoShiRo LFSR-PRNG's written in C

License

Notifications You must be signed in to change notification settings

Lima-X/XSRlib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XSRlib (C/C++)

XSRlib is a small Collection\ of all XoShiRo LFSR-PRNG's.
This Project aims to bring a small and compact "library", that comes with all the functionality and tools you need to use XoShiRo, without sacrificing speed and efficiency.

Im using the original referencecode taken from unimi, but heavily modified in order to make it as compact as possible without loosing speed.
As for the special tools it will come with, I only planned so far to include tools to initialize the generators and to generate numbers uniformly in a specified interval.

Current Progress

XSRlib is still in Beta state. ( well maybe Gamma ¯\_(ツ)_/¯ )

The Development of the XSRlib is basically done, the code works like it was intended to.
So it is kinda like ready for release...
The only things left for me to do are:

  • Review the code for any mistakes and last minute optimizations (including syntax and spellchecking)
  • Maybe renaming and commenting things (idk tbh)
  • Write Fix the f*cking documentation... (adapt it to the new changes)

and well then im done...
I might also take some proper Benchmarknumbers if i can.

Quick Benchmarknumbers

Xoshiro256 on Intel i5 8600k @ 4,3GHz (x64 MSVC): 1.904ns - 2.082ns per generated number

About

A lightweight Library of XoShiRo LFSR-PRNG's written in C

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published