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

Function packI

extlibs/lua/src/lmathlib.c:381–386  ·  view source on GitHub ↗

build a new Rand64 value */

Source from the content-addressed store, hash-verified

379
380/* build a new Rand64 value */
381static Rand64 packI (lu_int32 h, lu_int32 l) {
382 Rand64 result;
383 result.h = h;
384 result.l = l;
385 return result;
386}
387
388/* return i << n */
389static Rand64 Ishl (Rand64 i, int n) {

Callers 5

IshlFunction · 0.85
IaddFunction · 0.85
rotlFunction · 0.85
rotl1Function · 0.85
Int2IFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected