MCPcopy Create free account
hub / github.com/F-Stack/f-stack / math_sin

Function math_sin

app/redis-6.2.6/deps/lua/src/lmathlib.c:31–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29}
30
31static int math_sin (lua_State *L) {
32 lua_pushnumber(L, sin(luaL_checknumber(L, 1)));
33 return 1;
34}
35
36static int math_sinh (lua_State *L) {
37 lua_pushnumber(L, sinh(luaL_checknumber(L, 1)));

Callers

nothing calls this directly

Calls 2

lua_pushnumberFunction · 0.70
luaL_checknumberFunction · 0.70

Tested by

no test coverage detected