MCPcopy Create free account
hub / github.com/DFHack/dfhack / math_cos

Function math_cos

depends/lua/src/lmathlib.c:55–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55static int math_cos (lua_State *L) {
56 lua_pushnumber(L, l_mathop(cos)(luaL_checknumber(L, 1)));
57 return 1;
58}
59
60static int math_tan (lua_State *L) {
61 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