MCPcopy Create free account
hub / github.com/Overload-Technologies/Overload / Ishl

Function Ishl

Dependencies/lua/src/lmathlib.c:409–412  ·  view source on GitHub ↗

return i << n */

Source from the content-addressed store, hash-verified

407
408/* return i << n */
409static Rand64 Ishl (Rand64 i, int n) {
410 lua_assert(n > 0 && n < 32);
411 return packI((i.h << n) | (trim32(i.l) >> (32 - n)), i.l << n);
412}
413
414/* i1 ^= i2 */
415static 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