MCPcopy Create free account
hub / github.com/F-Stack/f-stack / math_atan

Function math_atan

app/redis-6.2.6/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.70
luaL_checknumberFunction · 0.70

Tested by

no test coverage detected