This commit is contained in:
2023-06-08 15:15:50 +06:00
parent c5585bbb0c
commit 080bbb28fd
22 changed files with 124 additions and 239 deletions

View File

@@ -23,8 +23,7 @@ static inline u32 rotl(const u32 x, i32 k) {
return (x << k) | (x >> (32 - k));
}
u32 xoshiro128plusplus_next(void* _state){
xoshiro128_state* state=_state;
u32 xoshiro128plusplus_next(xoshiro128_state* state){
const u32 result = rotl(state->s[0] + state->s[3], 7) + state->s[0];
const u32 t = state->s[1] << 9;