For our INT64 implementation, we can compare integers and numbers
directly because they are the same thing. Reviewed by: kevans@
This commit is contained in:
parent
243ff7d88b
commit
eddbdee83d
@ -450,9 +450,7 @@
|
||||
** and therefore its conversion to float may have an ill-defined value.)
|
||||
*/
|
||||
#define lua_numbertointeger(n,p) \
|
||||
((n) >= (LUA_NUMBER)(LUA_MININTEGER) && \
|
||||
(n) < -(LUA_NUMBER)(LUA_MININTEGER) && \
|
||||
(*(p) = (LUA_INTEGER)(n), 1))
|
||||
(*(p) = (LUA_INTEGER)(n), 1)
|
||||
|
||||
|
||||
/* now the variable definitions */
|
||||
|
Loading…
x
Reference in New Issue
Block a user