MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / math_cos

Function math_cos

other_src/lua/src/lmathlib.cpp:51–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51static int math_cos (lua_State *L) {
52 lua_pushnumber(L, cos(luaL_checknumber(L, 1)));
53 return 1;
54}
55
56static int math_cosh (lua_State *L) {
57 lua_pushnumber(L, cosh(luaL_checknumber(L, 1)));

Callers

nothing calls this directly

Calls 2

luaL_checknumberFunction · 0.85
lua_pushnumberFunction · 0.70

Tested by

no test coverage detected