Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ObEngine/ObEngine
/ rotl
Function
rotl
extlibs/lua/src/lmathlib.c:303–305 ·
view source on GitHub ↗
rotate left 'x' by 'n' bits */
Source
from the content-addressed store, hash-verified
301
302
/* rotate left
'x'
by
'n'
bits */
303
static Rand64 rotl (Rand64 x, int n) {
304
return (x << n) | (trim64(x) >> (64 - n));
305
}
306
307
static Rand64 nextrand (Rand64 *state) {
308
Rand64 state0 = state[0];
Callers
1
nextrand
Function · 0.85
Calls
1
packI
Function · 0.85
Tested by
no test coverage detected