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

Function Ishl

extlibs/lua/src/lmathlib.c:389–392  ·  view source on GitHub ↗

return i << n */

Source from the content-addressed store, hash-verified

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