Home
last modified time | relevance | path

Searched refs:cast_num (Results 1 – 8 of 8) sorted by relevance

/external/lua/src/
Dlundump.h19 #define LUAC_NUM cast_num(370.5)
Dlvm.c106 *n = cast_num(ivalue(obj)); in luaV_tonumber_()
414 return luai_numlt(cast_num(i), f); /* compare them as floats */ in LTintfloat()
431 return luai_numle(cast_num(i), f); /* compare them as floats */ in LEintfloat()
448 return luai_numlt(f, cast_num(i)); /* compare them as floats */ in LTfloatint()
465 return luai_numle(f, cast_num(i)); /* compare them as floats */ in LEfloatint()
893 lua_Number fimm = cast_num(imm); \
1012 lua_Number fim = cast_num(im); \
1169 setfltvalue(s2v(ra), cast_num(b)); in luaV_execute()
1571 cond = luai_numeq(fltvalue(s2v(ra)), cast_num(im)); in luaV_execute()
Dlvm.h58 (ttisinteger(o) ? ((n) = cast_num(ivalue(o)), 1) : 0))
Dllimits.h127 #define cast_num(i) cast(lua_Number, (i)) macro
Dlobject.c187 r = (r * cast_num(16.0)) + luaO_hexavalue(*s); in lua_strx2number()
503 setfltvalue(&num, cast_num(va_arg(argp, l_uacNumber))); in luaO_pushvfstring()
Dltm.c224 setfltvalue(&aux, cast_num(v2)); in luaT_callorderiTM()
Dltable.c117 n = l_mathop(frexp)(n, &i) * -cast_num(INT_MIN); in l_hashfloat()
119 lua_assert(luai_numisnan(n) || l_mathop(fabs)(n) == cast_num(HUGE_VAL)); in l_hashfloat()
Dlobject.h307 (ttisinteger(o) ? cast_num(ivalue(o)) : fltvalue(o)))