MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / luaO_fb2int

Function luaO_fb2int

deps/lua/src/lobject.c:47–51  ·  view source on GitHub ↗

converts back */

Source from the content-addressed store, hash-verified

45
46/* converts back */
47int luaO_fb2int (int x) {
48 int e = (x >> 3) & 31;
49 if (e == 0) return x;
50 else return ((x & 7)+8) << (e - 1);
51}
52
53
54int luaO_log2 (unsigned int x) {

Callers 1

luaV_executeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected