MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / times9

Function times9

3rd/lua-5.4.3/src/lmathlib.c:415–417  ·  view source on GitHub ↗

return i * 9 */

Source from the content-addressed store, hash-verified

413
414/* return i * 9 */
415static Rand64 times9 (Rand64 i) {
416 return Iadd(Ishl(i, 3), i); /* i * 9 == (i << 3) + i */
417}
418
419/* return 'i' rotated left 'n' bits */
420static Rand64 rotl (Rand64 i, int n) {

Callers 1

nextrandFunction · 0.85

Calls 2

IaddFunction · 0.85
IshlFunction · 0.85

Tested by

no test coverage detected