Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EmmyLua/EmmyLuaDebugger
/ times5
Function
times5
third-party/lua-5.5.0/src/lmathlib.c:449–451 ·
view source on GitHub ↗
return i * 5 */
Source
from the content-addressed store, hash-verified
447
448
/* return i * 5 */
449
static Rand64 times5 (Rand64 i) {
450
return Iadd(Ishl(i, 2), i); /* i * 5 == (i << 2) + i */
451
}
452
453
/* return i * 9 */
454
static Rand64 times9 (Rand64 i) {
Callers
1
nextrand
Function · 0.70
Calls
2
Iadd
Function · 0.70
Ishl
Function · 0.70
Tested by
no test coverage detected