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

Function math_frexp

third-party/lua-5.2.4/src/lmathlib.c:154–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152}
153
154static int math_frexp (lua_State *L) {
155 int e;
156 lua_pushnumber(L, l_mathop(frexp)(luaL_checknumber(L, 1), &e));
157 lua_pushinteger(L, e);
158 return 2;
159}
160
161static int math_ldexp (lua_State *L) {
162 lua_Number x = luaL_checknumber(L, 1);

Callers

nothing calls this directly

Calls 3

lua_pushnumberFunction · 0.70
luaL_checknumberFunction · 0.70
lua_pushintegerFunction · 0.70

Tested by

no test coverage detected