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