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

Function Ishl

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

return i << n */

Source from the content-addressed store, hash-verified

388
389/* return i << n */
390static Rand64 Ishl (Rand64 i, int n) {
391 lua_assert(n > 0 && n < 32);
392 return packI((i.h << n) | (trim32(i.l) >> (32 - n)), i.l << n);
393}
394
395/* i1 ^= i2 */
396static void Ixor (Rand64 *i1, Rand64 i2) {

Callers 3

times5Function · 0.85
times9Function · 0.85
nextrandFunction · 0.85

Calls 1

packIFunction · 0.85

Tested by

no test coverage detected