Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EmmyLua/EmmyLuaDebugger
/ times9
Function
times9
third-party/lua-5.5.0/src/lmathlib.c:454–456 ·
view source on GitHub ↗
return i * 9 */
Source
from the content-addressed store, hash-verified
452
453
/* return i * 9 */
454
static Rand64 times9 (Rand64 i) {
455
return Iadd(Ishl(i, 3), i); /* i * 9 == (i << 3) + i */
456
}
457
458
/* return
'i'
rotated left
'n'
bits */
459
static Rand64 rotl (Rand64 i, int n) {
Callers
1
nextrand
Function · 0.70
Calls
2
Iadd
Function · 0.70
Ishl
Function · 0.70
Tested by
no test coverage detected