Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ObEngine/ObEngine
/ times9
Function
times9
extlibs/lua/src/lmathlib.c:414–416 ·
view source on GitHub ↗
return i * 9 */
Source
from the content-addressed store, hash-verified
412
413
/* return i * 9 */
414
static Rand64 times9 (Rand64 i) {
415
return Iadd(Ishl(i, 3), i); /* i * 9 == (i << 3) + i */
416
}
417
418
/* return
'i'
rotated left
'n'
bits */
419
static Rand64 rotl (Rand64 i, int n) {
Callers
1
nextrand
Function · 0.85
Calls
2
Iadd
Function · 0.85
Ishl
Function · 0.85
Tested by
no test coverage detected