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

Function math_sin

third-party/lua-5.4.6/src/lmathlib.c:40–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40static int math_sin (lua_State *L) {
41 lua_pushnumber(L, l_mathop(sin)(luaL_checknumber(L, 1)));
42 return 1;
43}
44
45static int math_cos (lua_State *L) {
46 lua_pushnumber(L, l_mathop(cos)(luaL_checknumber(L, 1)));

Callers

nothing calls this directly

Calls 2

lua_pushnumberFunction · 0.70
luaL_checknumberFunction · 0.70

Tested by

no test coverage detected