MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / times5

Function times5

extlibs/lua/src/lmathlib.c:409–411  ·  view source on GitHub ↗

return i * 5 */

Source from the content-addressed store, hash-verified

407
408/* return i * 5 */
409static Rand64 times5 (Rand64 i) {
410 return Iadd(Ishl(i, 2), i); /* i * 5 == (i << 2) + i */
411}
412
413/* return i * 9 */
414static Rand64 times9 (Rand64 i) {

Callers 1

nextrandFunction · 0.85

Calls 2

IaddFunction · 0.85
IshlFunction · 0.85

Tested by

no test coverage detected