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

Function math_tanh

deps/lua/src/lmathlib.c:56–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56static int math_tanh (lua_State *L) {
57 lua_pushnumber(L, tanh(luaL_checknumber(L, 1)));
58 return 1;
59}
60
61static int math_asin (lua_State *L) {
62 lua_pushnumber(L, 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