New year (2024->2025), typos in comments
This commit is contained in:
Roberto Ierusalimschy
2025-01-16 11:51:16 -03:00
parent 3cdd49c94a
commit 2d8d5c74b5
15 changed files with 24 additions and 25 deletions

4
lvm.c
View File

@@ -127,8 +127,8 @@ int luaV_flttointeger (lua_Number n, lua_Integer *p, F2Imod mode) {
lua_Number f = l_floor(n);
if (n != f) { /* not an integral value? */
if (mode == F2Ieq) return 0; /* fails if mode demands integral value */
else if (mode == F2Iceil) /* needs ceil? */
f += 1; /* convert floor to ceil (remember: n != f) */
else if (mode == F2Iceil) /* needs ceiling? */
f += 1; /* convert floor to ceiling (remember: n != f) */
}
return lua_numbertointeger(f, p);
}