aboutsummaryrefslogtreecommitdiff
path: root/lmathlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'lmathlib.c')
-rw-r--r--lmathlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lmathlib.c b/lmathlib.c
index f8b24d1d..c7418e69 100644
--- a/lmathlib.c
+++ b/lmathlib.c
@@ -106,7 +106,7 @@ static int math_floor (lua_State *L) {
106 106
107static int math_ceil (lua_State *L) { 107static int math_ceil (lua_State *L) {
108 if (lua_isinteger(L, 1)) 108 if (lua_isinteger(L, 1))
109 lua_settop(L, 1); /* integer is its own ceil */ 109 lua_settop(L, 1); /* integer is its own ceiling */
110 else { 110 else {
111 lua_Number d = l_mathop(ceil)(luaL_checknumber(L, 1)); 111 lua_Number d = l_mathop(ceil)(luaL_checknumber(L, 1));
112 pushnumint(L, d); 112 pushnumint(L, d);