21 Commits (df0fbadf3b88a70aae0c0c7db86cd2244938cb26)

Author SHA1 Message Date
Avril df0fbadf3b
Reorganised /include
3 years ago
Avril 9b2b2468cc
Why can"t I call Random:: functions from an instance of derrived class crand???
3 years ago
Avril 5f57115683
Vectorised next_bytes(), next_v*().
3 years ago
Avril acc580e031
Random: Added `next_*(min, max)`
3 years ago
Avril 800e0ad13b
<range.h> util::range: Added out-of-place clamp `T clamped(const)` and `T clamped(&&)`.
3 years ago
Avril a9bc96294a
Working util::range type and bounded range-scale API!
3 years ago
Avril 5d69550fff
Fucking hell... First "attempt" at range API... it doesn"t look good :/
3 years ago
Avril 7eaba3c1b3
Added `aligned_ptr<T>::container_address([const] Self&) -> [const] Self*` to offset the overloaded unary & and avoid need of `std::addressof`.
3 years ago
Avril fe55da9a5a
Improved ergonomics for aligned_ptr pointer handling
3 years ago
Avril ed966944b8
Added likeliness annotations to some nullptr checks
3 years ago
Avril ef25f978ff
Added attrs to internal-exported C API header
3 years ago
Avril b35c0f705d
Added internal visibility modifier to internal C APIs
3 years ago
Avril 8e20b86365 crand::_sample() uniformly distributes between 0..1
3 years ago
Avril b59c0671d2
Added ranges to Random base.
3 years ago
Avril 977e32c711
crand: started integer rng overrides
3 years ago
Avril c8622410d8
crand: raw sample ok
3 years ago
Avril ea4538231e
Fix incorrect uint48_t sizing.
3 years ago
Avril 2b24ab0408
All that aligned_ptr<bullshit> work for nothing huh...
3 years ago
Avril 3b1628d396
Added mem::aligned_ptr<T> wrapper
3 years ago
Avril 7bd7964d98
Random::iterator<T> skel
3 years ago
Avril ff8c729ef7 Initial commit
3 years ago