Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Overload-Technologies/Overload
/ times5
Function
times5
Dependencies/lua/src/lmathlib.c:429–431 ·
view source on GitHub ↗
return i * 5 */
Source
from the content-addressed store, hash-verified
427
428
/* return i * 5 */
429
static Rand64 times5 (Rand64 i) {
430
return Iadd(Ishl(i, 2), i); /* i * 5 == (i << 2) + i */
431
}
432
433
/* return i * 9 */
434
static Rand64 times9 (Rand64 i) {
Callers
1
nextrand
Function · 0.85
Calls
2
Iadd
Function · 0.85
Ishl
Function · 0.85
Tested by
no test coverage detected