MCPcopy 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 */
449static Rand64 times5 (Rand64 i) {
450 return Iadd(Ishl(i, 2), i); /* i * 5 == (i << 2) + i */
451}
452
453/* return i * 9 */
454static Rand64 times9 (Rand64 i) {

Callers 1

nextrandFunction · 0.70

Calls 2

IaddFunction · 0.70
IshlFunction · 0.70

Tested by

no test coverage detected