Home
last modified time | relevance | path

Searched refs:luaV_flttointeger (Results 1 – 4 of 4) sorted by relevance

/external/lua/src/
Dlvm.h120 LUAI_FUNC int luaV_flttointeger (lua_Number n, lua_Integer *p, F2Imod mode);
Dlvm.c121 int luaV_flttointeger (lua_Number n, lua_Integer *p, F2Imod mode) { in luaV_flttointeger() function
139 return luaV_flttointeger(fltvalue(obj), p, mode); in luaV_tointegerns()
417 if (luaV_flttointeger(f, &fi, F2Iceil)) /* fi = ceil(f) */ in LTintfloat()
434 if (luaV_flttointeger(f, &fi, F2Ifloor)) /* fi = floor(f) */ in LEintfloat()
451 if (luaV_flttointeger(f, &fi, F2Ifloor)) /* fi = floor(f) */ in LTfloatint()
468 if (luaV_flttointeger(f, &fi, F2Iceil)) /* fi = ceil(f) */ in LEfloatint()
Dltable.c629 if (luaV_flttointeger(f, &k, F2Ieq)) { /* does key fit in an integer? */ in luaH_newkey()
748 if (luaV_flttointeger(fltvalue(key), &k, F2Ieq)) /* integral index? */ in luaH_get()
Dlcode.c669 if (luaV_flttointeger(f, &fi, F2Ieq) && fitsBx(fi)) in luaK_float()
1242 else if (e->k == VKFLT && luaV_flttointeger(e->u.nval, &i, F2Ieq)) in isSCnumber()