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

Function math_atan

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

Source from the content-addressed store, hash-verified

70
71
72static int math_atan (lua_State *L) {
73 lua_Number y = luaL_checknumber(L, 1);
74 lua_Number x = luaL_optnumber(L, 2, 1);
75 lua_pushnumber(L, l_mathop(atan2)(y, x));
76 return 1;
77}
78
79
80static int math_toint (lua_State *L) {

Callers

nothing calls this directly

Calls 3

luaL_checknumberFunction · 0.70
luaL_optnumberFunction · 0.70
lua_pushnumberFunction · 0.70

Tested by

no test coverage detected