MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / math_ceil

Function math_ceil

third-party/lua-5.2.4/src/lmathlib.c:82–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82static int math_ceil (lua_State *L) {
83 lua_pushnumber(L, l_mathop(ceil)(luaL_checknumber(L, 1)));
84 return 1;
85}
86
87static int math_floor (lua_State *L) {
88 lua_pushnumber(L, l_mathop(floor)(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