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

Function math_tan

deps/lua/src/lmathlib.c:51–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51static int math_tan (lua_State *L) {
52 lua_pushnumber(L, tan(luaL_checknumber(L, 1)));
53 return 1;
54}
55
56static int math_tanh (lua_State *L) {
57 lua_pushnumber(L, tanh(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