Home
last modified time | relevance | path

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

/freebsd/contrib/lua/src/
H A Dlvm.c143 return luaV_flttointeger(fltvalue(obj), p, mode); in luaV_tointegerns()
271 lua_Number step = fltvalue(s2v(ra + 2)); in floatforloop()
272 lua_Number limit = fltvalue(s2v(ra + 1)); in floatforloop()
273 lua_Number idx = fltvalue(s2v(ra)); /* internal index */ in floatforloop()
487 return LTintfloat(li, fltvalue(r)); /* l < r ? */ in LTnum()
490 lua_Number lf = fltvalue(l); /* 'l' must be float */ in LTnum()
492 return luai_numlt(lf, fltvalue(r)); /* both are float */ in LTnum()
509 return LEintfloat(li, fltvalue(r)); /* l <= r ? */ in LEnum()
512 lua_Number lf = fltvalue(l); /* 'l' must be float */ in LEnum()
514 return luai_numle(lf, fltvalue(r)); /* both are float */ in LEnum()
[all …]
H A Dlvm.h52 (ttisfloat(o) ? (*(n) = fltvalue(o), 1) : luaV_tonumber_(o,n))
57 (ttisfloat(o) ? ((n) = fltvalue(o), 1) : \
H A Dltable.c158 lua_Number n = fltvalue(key); in mainpositionTV()
226 return luai_numeq(fltvalue(k1), fltvalueraw(keyval(n2))); in equalkey()
671 lua_Number f = fltvalue(key); in luaH_newkey()
795 if (luaV_flttointeger(fltvalue(key), &k, F2Ieq)) /* integral index? */ in luaH_get()
H A Dlobject.h331 (ttisinteger(o) ? cast_num(ivalue(o)) : fltvalue(o)))
332 #define fltvalue(o) check_exp(ttisfloat(o), val_(o).n) macro
H A Dldump.c122 dumpNumber(D, fltvalue(o)); in dumpConstants()
H A Dllex.c253 seminfo->r = fltvalue(&obj); in read_numeral()
H A Dlobject.c361 len = lua_number2str(buff, MAXNUMBER2STR, fltvalue(obj)); in tostringbuff()
H A Dluac.c311 sprintf(buff,LUA_NUMBER_FMT,fltvalue(o)); in PrintConstant()
H A Dlcode.c705 e->k = VKFLT; e->u.nval = fltvalue(v); in const2exp()
1351 lua_Number n = fltvalue(&res); in constfolding()