MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / luaO_fb2int

Function luaO_fb2int

lua/lobject.c:49–53  ·  view source on GitHub ↗

converts back */

Source from the content-addressed store, hash-verified

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

Callers 1

luaV_executeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected