Home
last modified time | relevance | path

Searched refs:luaL_checknumber (Results 1 – 5 of 5) sorted by relevance

/external/lua/src/
Dlmathlib.c36 lua_pushnumber(L, l_mathop(fabs)(luaL_checknumber(L, 1))); in math_abs()
41 lua_pushnumber(L, l_mathop(sin)(luaL_checknumber(L, 1))); in math_sin()
46 lua_pushnumber(L, l_mathop(cos)(luaL_checknumber(L, 1))); in math_cos()
51 lua_pushnumber(L, l_mathop(tan)(luaL_checknumber(L, 1))); in math_tan()
56 lua_pushnumber(L, l_mathop(asin)(luaL_checknumber(L, 1))); in math_asin()
61 lua_pushnumber(L, l_mathop(acos)(luaL_checknumber(L, 1))); in math_acos()
66 lua_Number y = luaL_checknumber(L, 1); in math_atan()
99 lua_Number d = l_mathop(floor)(luaL_checknumber(L, 1)); in math_floor()
110 lua_Number d = l_mathop(ceil)(luaL_checknumber(L, 1)); in math_ceil()
128 lua_pushnumber(L, l_mathop(fmod)(luaL_checknumber(L, 1), in math_fmod()
[all …]
Dlauxlib.h58 LUALIB_API lua_Number (luaL_checknumber) (lua_State *L, int arg);
Dloslib.c75 #define l_gettime(L,arg) luaL_checknumber(L, arg)
Dlauxlib.c420 LUALIB_API lua_Number luaL_checknumber (lua_State *L, int arg) { in luaL_checknumber() function
430 return luaL_opt(L, luaL_checknumber, arg, def); in luaL_optnumber()
Dlstrlib.c1260 luaL_checknumber(L, arg)); in str_format()
1267 lua_Number n = luaL_checknumber(L, arg); in str_format()
1589 lua_Number n = luaL_checknumber(L, arg); /* get argument */ in str_pack()