Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arrayfire/arrayfire
/ rotL
Function
rotL
src/backend/cpu/kernel/random_engine_threefry.hpp:67–69 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
65
static const uint R7 = 24;
66
67
static inline uint rotL(uint x, uint N) {
68
return (x << (N & 31)) | (x >> ((32 - N) & 31));
69
}
70
71
static inline void threefry(uint k[2], uint c[2], uint X[2]) {
72
uint ks[3];
Callers
1
threefry
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected