Home
last modified time | relevance | path

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

/external/lua/src/
Dlvm.c98 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 …]
Dlvm.h41 (ttisfloat(o) ? (*(n) = fltvalue(o), 1) : luaV_tonumber_(o,n))
Dlobject.h164 #define fltvalue(o) check_exp(ttisfloat(o), val_(o).n) macro
166 (ttisinteger(o) ? cast_num(ivalue(o)) : fltvalue(o)))
Dltable.c122 return hashmod(t, l_hashfloat(fltvalue(key))); in mainposition()
471 else if (luai_numisnan(fltvalue(key))) in luaH_newkey()
Dldump.c112 DumpNumber(fltvalue(o), D); in DumpConstants()
Dluac.c268 sprintf(buff,LUA_NUMBER_FMT,fltvalue(o)); in PrintConstant()
Dlobject.c378 len = lua_number2str(buff, sizeof(buff), fltvalue(obj)); in luaO_tostring()
Dllex.c240 seminfo->r = fltvalue(&obj); in read_numeral()
Dlcode.c989 lua_Number n = fltvalue(&res); in constfolding()