Home
last modified time | relevance | path

Searched refs:xrand_rotl (Results 1 – 1 of 1) sorted by relevance

/hal_rpi_pico-latest/test/pico_test/include/pico/test/
Dxrand.h41 static inline uint64_t xrand_rotl(const uint64_t x, int k) { in xrand_rotl() function
53 const uint64_t result = xrand_rotl(s0 + s1, 17) + s0; in xrand_next()
56 s->s0 = xrand_rotl(s0, 49) ^ s1 ^ (s1 << 21); // a, b in xrand_next()
57 s->s1 = xrand_rotl(s1, 28); // c in xrand_next()