summaryrefslogtreecommitdiffhomepage
path: root/examples/rngtest.c
AgeCommit message (Collapse)Author
2020-12-21Added some benchmarks. Fix typo in cdeq.hTyge Løvset
2020-12-16Renamed crandom to crand, including renaming of relevant files.Tyge Løvset
2020-12-16Reverted back API to easier naming scheme of crandom.h types and methods.Tyge Løvset
Highly optimized generation of unbiased uniform bounded random numbers. Only 33% overhead.
2020-12-14Reworked the crandom.h module. Changed API (sorry!), made uniform distr. ↵Tyge Løvset
unbiased. Removed 32-bit pcg32 PRNG.
2020-11-26Removed stc/cfmt.h, as _Generic requires C11. I have made it a gist: ↵Tyge Løvset
https://gist.github.com/tylov/bcc956a4779f1d14204e66a14f17beb9 All examples are reverted to use printf() instead of c_print().
2020-10-26Updates examples using cfmt.h c_print().Tyge Løvset
2020-09-20Added c_foreach (i,N) and c_foreach (N), and updated README.mdTyge Løvset
2020-09-18Minor, using a few c_forrange ().Tyge Løvset
2020-09-13reverted back to separate random engine and distribution parameters.Tyge Løvset
2020-08-29Updated crandom.h API! update to benchmark.c . Optimized cmap iter.Tyge Løvset
2020-08-07RngtestTyge Løvset
2020-08-07Added i64 uniform distribution range. in crandom.htylo
2020-08-05Some API changes in crandom. Added crandom_normal_f64() - normal distributed ↵Tyge Løvset
distribution.
2020-08-04Refinements and consistency fixes.Tyge Løvset
2020-08-02Renamed in random and fixed in bitset.Tyge Løvset
2020-08-01Renamed files cvec_pq.h --> cpqueue.h and crand.h --> crandom.hTyge Løvset
2020-07-29Changed rand.h API. Using my own 64-bit random function, not sfc64: Faster ↵Tyge Løvset
and has seq (sequence, jump) for multiple threads. Cleanup.
2020-07-29Renamed crandom.h to crand.h + Changed API. Renamed coptget.h to copt.h.Tyge Løvset
2020-07-27Changed crandom.h APITyge Løvset
2020-07-23Changed cvecpq.h priority queue API and crandom.h APITyge Løvset
2020-07-17Renamed chash.h to cmap.h and added cset.hTyge Løvset
2020-07-17Added macro overload allowing zero args (not utilized). Renamed ↵Tyge Løvset
..._floatRandom() to ..._randomFloat()
2020-06-24Removed Mersenne Twister and xoroshiro functions. Added PGC32. Refactored ↵Tylo
carray.
2020-06-23Minor stuff on crandom. and STC_INLINETylo
2020-06-21Moved examples to examples folder.Tylo