Avril
86b855bda3
Added seeding interface.
...
Added splitmix64 seed generator.
Added splitmix64 random generator.
Fortune for rngxx's current commit: Future small blessing − 末小吉
3 years ago
Avril
5a4b68ab3f
Started implementing next for arrays.
...
Major version bump: `struct rng_next_opt` ABI break.
Fortune for rngxx's current commit: Middle blessing − 中吉
3 years ago
Avril
4b988ba83b
Added name-based runtime engine lookup.
...
This is opt-in for any children of `Random`, the macro `RNGXX_APPLY_CTOR(namespace, class_name, seed_type)` in `internal/init.hpp` enables this lookup.
Non-internal implementors of Random can use this API also. This provides a dynamic way to load user-defined subclasses of Random at runtime.
A symbol-based lookup may be added in the future.
Version bumped.
Fortune for rngxx's current commit: Future curse − 末凶
3 years ago
Avril
ebc16f5638
C API: Added individual primitive types `rng_next_*()`
...
Defined in rngxx.h header as `inline static __gnu_inline` (force inline). To compile into consumer libraries as ONLY inline (no symbol emitted) `inline extern __gnu_inline`, define the macro `_RNGXX_INLINE_ONLY` (If inlining is disabled by compiler flag (e.g. `-O0`), this will cause linker failures.)
Fortune for rngxx's current commit: Curse − 凶
3 years ago
Avril
12f5e7dd97
Better debugging of test program
...
Fortune for rngxx's current commit: Half blessing − 半吉
3 years ago
Avril
9ebf0384a5
C API basic test
...
Fortune for rngxx's current commit: Blessing − 吉
3 years ago
Avril
29187574be
C API added
...
(testing needed)
Fortune for rngxx's current commit: Half blessing − 半吉
3 years ago
Avril
f193acd2ea
Fixed internal header problems (hopefully...)
...
Fortune for rngxx's current commit: Half curse − 半凶
3 years ago
Avril
7733ada38b
Fixed some namespace pollution issues
...
Fortune for rngxx's current commit: Blessing − 吉
3 years ago
Avril
0ecf0be7a7
Update makefile
...
Fortune for rngxx's current commit: Future small blessing − 末小吉
3 years ago
Avril
5b7983154c
Fix internal includes being installed
...
Fortune for cpprng's current commit: Curse − 凶
3 years ago
Avril
df0fbadf3b
Reorganised /include
...
Fortune for cpprng's current commit: Future curse − 末凶
3 years ago
Avril
9fb0030c7a
Compiles for static + shared libraries
...
Fortune for cpprng's current commit: Future small blessing − 末小吉
3 years ago
Avril
5f57115683
Vectorised next_bytes(), next_v*().
...
XXX: next_bytes(std::array<u8, ...>) doesn"t seem to play nice with aliasing rules.
Fortune for cpprng's current commit: Small blessing − 小吉
3 years ago
Avril
ed966944b8
Added likeliness annotations to some nullptr checks
...
Fortune for cpprng's current commit: Great blessing − 大吉
3 years ago
Avril
ef25f978ff
Added attrs to internal-exported C API header
...
Remove -fanalyzer: Too many false positives
Fortune for cpprng's current commit: Middle blessing − 中吉
3 years ago
Avril
3b1628d396
Added mem::aligned_ptr<T> wrapper
...
Fortune for cpprng's current commit: Future blessing − 末吉
3 years ago
Avril
5ac7fc5e11
start: c Random subclass (jrand48_r())
...
Fortune for cpprng's current commit: Curse − 凶
3 years ago
Avril
ff8c729ef7
Initial commit
...
Added `Random` interface.
Fortune for cpprng's current commit: Blessing − 吉
3 years ago