mirror of
https://github.com/lua/lua
synced 2026-09-27 00:28:25 +03:00
integer exponentiation with negative exponent is invalid
This commit is contained in:
parent
1a19893d6f
commit
a8f8c7fd80
4 changed files with 32 additions and 30 deletions
4
lvm.h
4
lvm.h
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
** $Id: lvm.h,v 2.22 2013/04/29 17:12:50 roberto Exp roberto $
|
||||
** $Id: lvm.h,v 2.23 2013/05/02 12:31:26 roberto Exp roberto $
|
||||
** Lua virtual machine
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
|
|
@ -43,7 +43,7 @@ LUAI_FUNC void luaV_execute (lua_State *L);
|
|||
LUAI_FUNC void luaV_concat (lua_State *L, int total);
|
||||
LUAI_FUNC lua_Integer luaV_div (lua_State *L, lua_Integer x, lua_Integer y);
|
||||
LUAI_FUNC lua_Integer luaV_mod (lua_State *L, lua_Integer x, lua_Integer y);
|
||||
LUAI_FUNC lua_Integer luaV_pow (lua_Integer x, lua_Integer y);
|
||||
LUAI_FUNC lua_Integer luaV_pow (lua_State *L, lua_Integer x, lua_Integer y);
|
||||
LUAI_FUNC void luaV_objlen (lua_State *L, StkId ra, const TValue *rb);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue