39 Commits (iter)

Author SHA1 Message Date
Avril e0518f2115
Attempted a better iterator design but C++ doesn"t make it easy
4 years ago
Avril 3ff3db0e3e
C++ iterators are absolute retarded shite. Their ```design""" makes no sense.
4 years ago
Avril b071cbb1ad
Added `nexta[m]` array handling functions.
4 years ago
Avril 1cf5ca05b2 Added noexcept to global dtor & ctor
4 years ago
Avril 4b988ba83b Added name-based runtime engine lookup.
4 years ago
Avril ebc16f5638 C API: Added individual primitive types `rng_next_*()`
4 years ago
Avril 9ebf0384a5 C API basic test
4 years ago
Avril 29187574be
C API added
4 years ago
Avril ed1f1d5f03
C API: Start `next` shim
4 years ago
Avril fc70397536
C API: Type spec and flags (start)
4 years ago
Avril c38d58b7fe
Rework C API shim. Now bridges: librngxx (main library C++ interface) @ rngxx.hpp -> >|capi-bridge.cpp <-> capi-bridge.h <-> capi.c|> -> rngxx.h
4 years ago
Avril 8cdc9648a0 Merge
4 years ago
Avril b1bed00dcc
Fix header names. Again...
4 years ago
Avril d51eb30b6b
C API start
4 years ago
Avril f193acd2ea
Fixed internal header problems (hopefully...)
4 years ago
Avril 7733ada38b
Fixed some namespace pollution issues
4 years ago
Avril 54dfb64596
Renamed API header & API header location /include
4 years ago
Avril df0fbadf3b
Reorganised /include
4 years ago
Avril 9fb0030c7a
Compiles for static + shared libraries
4 years ago
Avril 9b2b2468cc
Why can"t I call Random:: functions from an instance of derrived class crand???
4 years ago
Avril 5f57115683
Vectorised next_bytes(), next_v*().
4 years ago
Avril acc580e031
Random: Added `next_*(min, max)`
4 years ago
Avril a9bc96294a
Working util::range type and bounded range-scale API!
4 years ago
Avril 5d69550fff
Fucking hell... First "attempt" at range API... it doesn"t look good :/
4 years ago
Avril fe55da9a5a
Improved ergonomics for aligned_ptr pointer handling
4 years ago
Avril ed966944b8
Added likeliness annotations to some nullptr checks
4 years ago
Avril ef25f978ff
Added attrs to internal-exported C API header
4 years ago
Avril 595fd74a97
_jr_st_resolv() now takes pointer to the xsub union instead of the whole state.
4 years ago
Avril b35c0f705d
Added internal visibility modifier to internal C APIs
4 years ago
Avril 8e20b86365 crand::_sample() uniformly distributes between 0..1
4 years ago
Avril c21c7e77e9
crand::next_u64() now correctly returns uniformly between 0..=RANGE_MAX
4 years ago
Avril b59c0671d2
Added ranges to Random base.
4 years ago
Avril 977e32c711
crand: started integer rng overrides
4 years ago
Avril c8622410d8
crand: raw sample ok
4 years ago
Avril ea4538231e
Fix incorrect uint48_t sizing.
4 years ago
Avril 2b24ab0408
All that aligned_ptr<bullshit> work for nothing huh...
4 years ago
Avril 3b1628d396
Added mem::aligned_ptr<T> wrapper
4 years ago
Avril 5ac7fc5e11 start: c Random subclass (jrand48_r())
4 years ago
Avril ff8c729ef7 Initial commit
4 years ago