| 80 | } |
| 81 | |
| 82 | static int math_ceil (lua_State *L) { |
| 83 | lua_pushnumber(L, l_mathop(ceil)(luaL_checknumber(L, 1))); |
| 84 | return 1; |
| 85 | } |
| 86 | |
| 87 | static int math_floor (lua_State *L) { |
| 88 | lua_pushnumber(L, l_mathop(floor)(luaL_checknumber(L, 1))); |
nothing calls this directly
no test coverage detected