Searched refs:luaL_checknumber (Results 1 – 5 of 5) sorted by relevance
/external/lua/src/ |
D | lmathlib.c | 36 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 …]
|
D | lauxlib.h | 58 LUALIB_API lua_Number (luaL_checknumber) (lua_State *L, int arg);
|
D | loslib.c | 75 #define l_gettime(L,arg) luaL_checknumber(L, arg)
|
D | lauxlib.c | 420 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()
|
D | lstrlib.c | 1260 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()
|