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

Function math_frexp

third-party/lua-5.5.0/src/lmathlib.c:217–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215
216
217static int math_frexp (lua_State *L) {
218 lua_Number x = luaL_checknumber(L, 1);
219 int ep;
220 lua_pushnumber(L, l_mathop(frexp)(x, &ep));
221 lua_pushinteger(L, ep);
222 return 2;
223}
224
225
226static int math_ldexp (lua_State *L) {

Callers

nothing calls this directly

Calls 3

luaL_checknumberFunction · 0.70
lua_pushnumberFunction · 0.70
lua_pushintegerFunction · 0.70

Tested by

no test coverage detected