MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / math_atan

Function math_atan

deps/lua/src/lmathlib.c:71–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71static int math_atan (lua_State *L) {
72 lua_pushnumber(L, atan(luaL_checknumber(L, 1)));
73 return 1;
74}
75
76static int math_atan2 (lua_State *L) {
77 lua_pushnumber(L, atan2(luaL_checknumber(L, 1), luaL_checknumber(L, 2)));

Callers

nothing calls this directly

Calls 2

lua_pushnumberFunction · 0.85
luaL_checknumberFunction · 0.85

Tested by

no test coverage detected