Searched refs:fltvalue (Results 1 – 9 of 9) sorted by relevance
/external/lua/src/ |
D | lvm.c | 139 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 …]
|
D | lvm.h | 52 (ttisfloat(o) ? (*(n) = fltvalue(o), 1) : luaV_tonumber_(o,n)) 57 (ttisfloat(o) ? ((n) = fltvalue(o), 1) : \
|
D | ltable.c | 185 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()
|
D | ldump.c | 118 dumpNumber(D, fltvalue(o)); in dumpConstants()
|
D | lobject.h | 307 (ttisinteger(o) ? cast_num(ivalue(o)) : fltvalue(o))) 308 #define fltvalue(o) check_exp(ttisfloat(o), val_(o).n) macro
|
D | llex.c | 250 seminfo->r = fltvalue(&obj); in read_numeral()
|
D | lobject.c | 361 len = lua_number2str(buff, MAXNUMBER2STR, fltvalue(obj)); in tostringbuff()
|
D | luac.c | 312 sprintf(buff,LUA_NUMBER_FMT,fltvalue(o)); in PrintConstant()
|
D | lcode.c | 685 e->k = VKFLT; e->u.nval = fltvalue(v); in const2exp() 1326 lua_Number n = fltvalue(&res); in constfolding()
|