13 Commits (3461794a686ce3b3489d9de817d505f0675f4f13)

Author SHA1 Message Date
Avril 3461794a68
Changed ifunc resolver for _jr_resolv to use the `static const` initialiser in the new macro-based constant expression xsubi endianess resolver. The ifunc resolver always had resolved the correct function at compile-time and consists of a single `jmp` into it, this doesn"t change anything but make it consistent with the constant expression resolver"s methods (which do matter for that one.)
3 years ago
Avril 045cb7189b
Added compile-time (macro) determiation of endianess shift needed for jr_state"s bitfield over xsubi. Reduces code size and removes 2 levels of indirection.
3 years ago
Avril 5f57115683
Vectorised next_bytes(), next_v*().
3 years ago
Avril acc580e031
Random: Added `next_*(min, max)`
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 595fd74a97
_jr_st_resolv() now takes pointer to the xsub union instead of the whole state.
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 c8622410d8
crand: raw sample ok
3 years ago
Avril ea4538231e
Fix incorrect uint48_t sizing.
3 years ago
Avril 3b1628d396
Added mem::aligned_ptr<T> wrapper
3 years ago
Avril 5ac7fc5e11 start: c Random subclass (jrand48_r())
3 years ago