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

Function math_tan

depends/lua/src/lmathlib.c:60–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60static int math_tan (lua_State *L) {
61 lua_pushnumber(L, l_mathop(tan)(luaL_checknumber(L, 1)));
62 return 1;
63}
64
65static int math_asin (lua_State *L) {
66 lua_pushnumber(L, l_mathop(asin)(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