Home
last modified time | relevance | path

Searched refs:fltvalue (Results 1 – 9 of 9) sorted by relevance

/external/lua/src/
Dlvm.c139 return luaV_flttointeger(fltvalue(obj), p, mode); in luaV_tointegerns()
267 lua_Number step = fltvalue(s2v(ra + 2)); in floatforloop()
268 lua_Number limit = fltvalue(s2v(ra + 1)); in floatforloop()
269 lua_Number idx = fltvalue(s2v(ra)); /* internal index */ in floatforloop()
486 return LTintfloat(li, fltvalue(r)); /* l < r ? */ in LTnum()
489 lua_Number lf = fltvalue(l); /* 'l' must be float */ in LTnum()
491 return luai_numlt(lf, fltvalue(r)); /* both are float */ in LTnum()
508 return LEintfloat(li, fltvalue(r)); /* l <= r ? */ in LEnum()
511 lua_Number lf = fltvalue(l); /* 'l' must be float */ in LEnum()
513 return luai_numle(lf, fltvalue(r)); /* both are float */ in LEnum()
[all …]
Dlvm.h52 (ttisfloat(o) ? (*(n) = fltvalue(o), 1) : luaV_tonumber_(o,n))
57 (ttisfloat(o) ? ((n) = fltvalue(o), 1) : \
Dltable.c185 return luai_numeq(fltvalue(k1), fltvalueraw(keyval(n2))); in equalkey()
627 lua_Number f = fltvalue(key); in luaH_newkey()
748 if (luaV_flttointeger(fltvalue(key), &k, F2Ieq)) /* integral index? */ in luaH_get()
Dldump.c118 dumpNumber(D, fltvalue(o)); in dumpConstants()
Dlobject.h307 (ttisinteger(o) ? cast_num(ivalue(o)) : fltvalue(o)))
308 #define fltvalue(o) check_exp(ttisfloat(o), val_(o).n) macro
Dllex.c250 seminfo->r = fltvalue(&obj); in read_numeral()
Dlobject.c361 len = lua_number2str(buff, MAXNUMBER2STR, fltvalue(obj)); in tostringbuff()
Dluac.c312 sprintf(buff,LUA_NUMBER_FMT,fltvalue(o)); in PrintConstant()
Dlcode.c685 e->k = VKFLT; e->u.nval = fltvalue(v); in const2exp()
1326 lua_Number n = fltvalue(&res); in constfolding()