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

Function math_abs

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

Source from the content-addressed store, hash-verified

24
25
26static int math_abs (lua_State *L) {
27 lua_pushnumber(L, l_mathop(fabs)(luaL_checknumber(L, 1)));
28 return 1;
29}
30
31static int math_sin (lua_State *L) {
32 lua_pushnumber(L, l_mathop(sin)(luaL_checknumber(L, 1)));

Callers

nothing calls this directly

Calls 2

lua_pushnumberFunction · 0.70
luaL_checknumberFunction · 0.70

Tested by

no test coverage detected