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

Function math_atan2

deps/lua/src/lmathlib.c:76–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76static int math_atan2 (lua_State *L) {
77 lua_pushnumber(L, atan2(luaL_checknumber(L, 1), luaL_checknumber(L, 2)));
78 return 1;
79}
80
81static int math_ceil (lua_State *L) {
82 lua_pushnumber(L, ceil(luaL_checknumber(L, 1)));

Callers

nothing calls this directly

Calls 2

lua_pushnumberFunction · 0.85
luaL_checknumberFunction · 0.85

Tested by

no test coverage detected