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

Function math_ldexp

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

Source from the content-addressed store, hash-verified

224
225
226static int math_ldexp (lua_State *L) {
227 lua_Number x = luaL_checknumber(L, 1);
228 int ep = (int)luaL_checkinteger(L, 2);
229 lua_pushnumber(L, l_mathop(ldexp)(x, ep));
230 return 1;
231}
232
233
234static int math_min (lua_State *L) {

Callers

nothing calls this directly

Calls 3

luaL_checknumberFunction · 0.70
luaL_checkintegerFunction · 0.70
lua_pushnumberFunction · 0.70

Tested by

no test coverage detected