Lines Matching refs:luaL_checknumber
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()
129 luaL_checknumber(L, 2))); in math_fmod()
145 lua_Number n = luaL_checknumber(L, 1); in math_modf()
157 lua_pushnumber(L, l_mathop(sqrt)(luaL_checknumber(L, 1))); in math_sqrt()
170 lua_Number x = luaL_checknumber(L, 1); in math_log()
175 lua_Number base = luaL_checknumber(L, 2); in math_log()
190 lua_pushnumber(L, l_mathop(exp)(luaL_checknumber(L, 1))); in math_exp()
195 lua_pushnumber(L, luaL_checknumber(L, 1) * (l_mathop(180.0) / PI)); in math_deg()
200 lua_pushnumber(L, luaL_checknumber(L, 1) * (PI / l_mathop(180.0))); in math_rad()
659 lua_pushnumber(L, l_mathop(cosh)(luaL_checknumber(L, 1))); in math_cosh()
664 lua_pushnumber(L, l_mathop(sinh)(luaL_checknumber(L, 1))); in math_sinh()
669 lua_pushnumber(L, l_mathop(tanh)(luaL_checknumber(L, 1))); in math_tanh()
674 lua_Number x = luaL_checknumber(L, 1); in math_pow()
675 lua_Number y = luaL_checknumber(L, 2); in math_pow()
682 lua_pushnumber(L, l_mathop(frexp)(luaL_checknumber(L, 1), &e)); in math_frexp()
688 lua_Number x = luaL_checknumber(L, 1); in math_ldexp()
695 lua_pushnumber(L, l_mathop(log10)(luaL_checknumber(L, 1))); in math_log10()