MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / Int2I

Function Int2I

third-party/lua-5.5.0/src/lmathlib.c:544–546  ·  view source on GitHub ↗

convert a 'lua_Unsigned' to a 'Rand64' */

Source from the content-addressed store, hash-verified

542
543/* convert a 'lua_Unsigned' to a 'Rand64' */
544static Rand64 Int2I (lua_Unsigned n) {
545 return packI((l_uint32)((n >> 31) >> 1), (l_uint32)n);
546}
547
548#endif /* } */
549

Callers 1

setseedFunction · 0.70

Calls 1

packIFunction · 0.70

Tested by

no test coverage detected