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

Function math_atan

third-party/lua-5.3.5/src/lmathlib.c:75–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75static int math_atan (lua_State *L) {
76 lua_Number y = luaL_checknumber(L, 1);
77 lua_Number x = luaL_optnumber(L, 2, 1);
78 lua_pushnumber(L, l_mathop(atan2)(y, x));
79 return 1;
80}
81
82
83static 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