Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Overload-Technologies/Overload
/ times9
Function
times9
Dependencies/lua/src/lmathlib.c:434–436 ·
view source on GitHub ↗
return i * 9 */
Source
from the content-addressed store, hash-verified
432
433
/* return i * 9 */
434
static Rand64 times9 (Rand64 i) {
435
return Iadd(Ishl(i, 3), i); /* i * 9 == (i << 3) + i */
436
}
437
438
/* return
'i'
rotated left
'n'
bits */
439
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