Lines Matching refs:lua_pushnumber
27 lua_pushnumber(L, l_mathop(fabs)(luaL_checknumber(L, 1)));
32 lua_pushnumber(L, l_mathop(sin)(luaL_checknumber(L, 1)));
37 lua_pushnumber(L, l_mathop(sinh)(luaL_checknumber(L, 1)));
42 lua_pushnumber(L, l_mathop(cos)(luaL_checknumber(L, 1)));
47 lua_pushnumber(L, l_mathop(cosh)(luaL_checknumber(L, 1)));
52 lua_pushnumber(L, l_mathop(tan)(luaL_checknumber(L, 1)));
57 lua_pushnumber(L, l_mathop(tanh)(luaL_checknumber(L, 1)));
62 lua_pushnumber(L, l_mathop(asin)(luaL_checknumber(L, 1)));
67 lua_pushnumber(L, l_mathop(acos)(luaL_checknumber(L, 1)));
72 lua_pushnumber(L, l_mathop(atan)(luaL_checknumber(L, 1)));
77 lua_pushnumber(L, l_mathop(atan2)(luaL_checknumber(L, 1),
83 lua_pushnumber(L, l_mathop(ceil)(luaL_checknumber(L, 1)));
88 lua_pushnumber(L, l_mathop(floor)(luaL_checknumber(L, 1)));
93 lua_pushnumber(L, l_mathop(fmod)(luaL_checknumber(L, 1),
101 lua_pushnumber(L, ip);
102 lua_pushnumber(L, fp);
107 lua_pushnumber(L, l_mathop(sqrt)(luaL_checknumber(L, 1)));
114 lua_pushnumber(L, l_mathop(pow)(x, y));
128 lua_pushnumber(L, res);
134 lua_pushnumber(L, l_mathop(log10)(luaL_checknumber(L, 1)));
140 lua_pushnumber(L, l_mathop(exp)(luaL_checknumber(L, 1)));
145 lua_pushnumber(L, luaL_checknumber(L, 1)/RADIANS_PER_DEGREE);
150 lua_pushnumber(L, luaL_checknumber(L, 1)*RADIANS_PER_DEGREE);
156 lua_pushnumber(L, l_mathop(frexp)(luaL_checknumber(L, 1), &e));
164 lua_pushnumber(L, l_mathop(ldexp)(x, ep));
179 lua_pushnumber(L, dmin);
193 lua_pushnumber(L, dmax);
204 lua_pushnumber(L, r); /* Number between 0 and 1 */
210 lua_pushnumber(L, l_mathop(floor)(r*u) + (lua_Number)(1.0)); /* [1, u] */
217 lua_pushnumber(L, l_mathop(floor)(r*(u-l+1)) + l); /* [l, u] */
273 lua_pushnumber(L, PI);
275 lua_pushnumber(L, HUGE_VAL);