Searched refs:fltvalue (Results 1 – 9 of 9) sorted by relevance
/external/lua/src/ |
D | lvm.c | 98 lua_Number n = fltvalue(obj); in luaV_tointeger() 324 return LTintfloat(li, fltvalue(r)); /* l < r ? */ in LTnum() 327 lua_Number lf = fltvalue(l); /* 'l' must be float */ in LTnum() 329 return luai_numlt(lf, fltvalue(r)); /* both are float */ in LTnum() 347 return LEintfloat(li, fltvalue(r)); /* l <= r ? */ in LEnum() 350 lua_Number lf = fltvalue(l); /* 'l' must be float */ in LEnum() 352 return luai_numle(lf, fltvalue(r)); /* both are float */ in LEnum() 421 case LUA_TNUMFLT: return luai_numeq(fltvalue(t1), fltvalue(t2)); in luaV_equalobj() 1202 lua_Number step = fltvalue(ra + 2); in luaV_execute() 1203 lua_Number idx = luai_numadd(L, fltvalue(ra), step); /* inc. index */ in luaV_execute() [all …]
|
D | lvm.h | 41 (ttisfloat(o) ? (*(n) = fltvalue(o), 1) : luaV_tonumber_(o,n))
|
D | lobject.h | 164 #define fltvalue(o) check_exp(ttisfloat(o), val_(o).n) macro 166 (ttisinteger(o) ? cast_num(ivalue(o)) : fltvalue(o)))
|
D | ltable.c | 122 return hashmod(t, l_hashfloat(fltvalue(key))); in mainposition() 471 else if (luai_numisnan(fltvalue(key))) in luaH_newkey()
|
D | ldump.c | 112 DumpNumber(fltvalue(o), D); in DumpConstants()
|
D | luac.c | 268 sprintf(buff,LUA_NUMBER_FMT,fltvalue(o)); in PrintConstant()
|
D | lobject.c | 378 len = lua_number2str(buff, sizeof(buff), fltvalue(obj)); in luaO_tostring()
|
D | llex.c | 240 seminfo->r = fltvalue(&obj); in read_numeral()
|
D | lcode.c | 989 lua_Number n = fltvalue(&res); in constfolding()
|