diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2025-01-16 11:51:16 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2025-01-16 11:51:16 -0300 |
commit | 2d8d5c74b5ef3d333314feede0165df7c3d13811 (patch) | |
tree | 320305677dc890ec28cc6720810967f07a20d358 /lmathlib.c | |
parent | 3cdd49c94a8feed94853ba3a6adaa556fb34fd8d (diff) | |
download | lua-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -106,7 +106,7 @@ static int math_floor (lua_State *L) { | |||
106 | 106 | ||
107 | static int math_ceil (lua_State *L) { | 107 | static 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); |