Home
last modified time | relevance | path

Searched refs:lua_isinteger (Results 1 – 7 of 7) sorted by relevance

/netbsd-src/external/mit/lua/dist/src/
H A Dlmathlib.c32 if (lua_isinteger(L, 1)) { in math_abs()
98 if (lua_isinteger(L, 1)) in math_floor()
109 if (lua_isinteger(L, 1)) in math_ceil()
120 if (lua_isinteger(L, 1) && lua_isinteger(L, 2)) { in math_fmod()
142 if (lua_isinteger(L ,1)) { in math_modf()
238 lua_pushstring(L, (lua_isinteger(L, 1)) ? "integer" : "float"); in math_type()
H A Dlauxlib.c686 lua_assert(lua_isinteger(L, -1)); in luaL_ref()
705 lua_assert(lua_isinteger(L, -1)); in luaL_unref()
913 if (lua_isinteger(L, idx)) in luaL_tolstring()
H A Dlua.h200 LUA_API int (lua_isinteger) (lua_State *L, int idx); variable
H A Dliolib.c668 int len = lua_isinteger(L, arg) in g_write()
H A Dlapi.c309 LUA_API int lua_isinteger (lua_State *L, int idx) { in lua_isinteger() function
H A Dlstrlib.c1197 if (!lua_isinteger(L, arg)) /* float? */ in addliteral()
/netbsd-src/lib/lua/libm/
H A Dlibm.c80 if (!lua_isinteger(L, 1) || \
195 if (!lua_isnumber(L, 1) || !lua_isinteger(L, 2)) in libm_scalbn()