Skip to content

Header only version of a part of Agner Fox's randomc library (high performance random number generators)

License

Notifications You must be signed in to change notification settings

Arech/AF_randomc_h

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AF_randomc_h

Header only version of a part of Agner Fog's randomc library (versioned 2014-Jun-14). Contains CRandomMersenne, CRandomMother and CRandomSFMT classes with small (mostly technical - just to make MSVC2015 happy) corrections and additions (such as float FRandom() for CRandomSFMT). These classes implements very fast random number generators with a good randomness.

Made for NNTL project, but distributed as standalone module due to license incompability (randomc is licensed under GNU General Public License http://www.gnu.org/licenses/gpl.html)

If you want to use it outside of NNTL, you probably may want to download it from original page.

Note for overclockers

CRandomSFMT class contains very tight loops of SSE instructions which may lead to hardware faults / BSODs on overclocked CPUs. I had to lower CPU frequency from 3900Mhz to 3500Mhz and raise some voltages to make my PC stable again (it had been working fine on 3900Mhz for half a year before that, successfully passing all available pretty intensive stability tests). You've been warned.

About

Header only version of a part of Agner Fox's randomc library (high performance random number generators)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages