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

Function math_ceil

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

Source from the content-addressed store, hash-verified

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