aboutsummaryrefslogtreecommitdiff
path: root/lmathlib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2025-01-16 11:51:16 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2025-01-16 11:51:16 -0300
commit2d8d5c74b5ef3d333314feede0165df7c3d13811 (patch)
tree320305677dc890ec28cc6720810967f07a20d358 /lmathlib.c
parent3cdd49c94a8feed94853ba3a6adaa556fb34fd8d (diff)
downloadlua-2d8d5c74b5ef3d333314feede0165df7c3d13811.tar.gz
lua-2d8d5c74b5ef3d333314feede0165df7c3d13811.tar.bz2
lua-2d8d5c74b5ef3d333314feede0165df7c3d13811.zip
Details
New year (2024->2025), typos in comments
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);