MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / math_cos

Function math_cos

3rd/lua-5.4.3/src/lmathlib.c:45–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45static int math_cos (lua_State *L) {
46 lua_pushnumber(L, l_mathop(cos)(luaL_checknumber(L, 1)));
47 return 1;
48}
49
50static int math_tan (lua_State *L) {
51 lua_pushnumber(L, l_mathop(tan)(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