Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ObEngine/ObEngine
/ Int2I
Function
Int2I
extlibs/lua/src/lmathlib.c:506–508 ·
view source on GitHub ↗
convert a 'lua_Unsigned' to a 'Rand64' */
Source
from the content-addressed store, hash-verified
504
505
/* convert a
'lua_Unsigned'
to a
'Rand64'
*/
506
static Rand64 Int2I (lua_Unsigned n) {
507
return packI((lu_int32)(n >> 31 >> 1), (lu_int32)n);
508
}
509
510
#endif /* } */
511
Callers
1
setseed
Function · 0.85
Calls
1
packI
Function · 0.85
Tested by
no test coverage detected