commit 114d10cbc599e848bd28f5b454ec4f8f823dce37
parent 9f3f5b6f4106966eb68f9c54dca9653bf3539bf9
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date: Sat, 15 Mar 2014 09:29:23 -0300
detail (comment)
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lvm.c b/lvm.c
@@ -1,5 +1,5 @@
/*
-** $Id: lvm.c,v 2.188 2014/03/07 16:19:00 roberto Exp roberto $
+** $Id: lvm.c,v 2.189 2014/03/14 16:54:08 roberto Exp roberto $
** Lua virtual machine
** See Copyright Notice in lua.h
*/
@@ -66,7 +66,7 @@ int luaV_tostring (lua_State *L, StkId obj) {
** Check whether a float number is within the range of a lua_Integer.
** (The comparisons are tricky because of rounding, which can or
** not occur depending on the relative sizes of floats and integers.)
-** This function is called only when 'n' has an integer value.
+** This function should be called only when 'n' has an integral value.
*/
int luaV_numtointeger (lua_Number n, lua_Integer *p) {
if (cast_num(MIN_INTEGER) <= n && n < (MAX_INTEGER + cast_num(1))) {