Home
last modified time | relevance | path

Searched refs:ttisfloat (Results 1 – 5 of 5) sorted by relevance

/src/contrib/lua/src/
H A Dlvm.h52 (ttisfloat(o) ? (*(n) = fltvalue(o), 1) : luaV_tonumber_(o,n))
57 (ttisfloat(o) ? ((n) = fltvalue(o), 1) : \
H A Dlobject.h327 #define ttisfloat(o) checktag((o), LUA_VNUMFLT) macro
332 #define fltvalue(o) check_exp(ttisfloat(o), val_(o).n)
342 { TValue *io=(obj); lua_assert(ttisfloat(io)); val_(io).n=(x); }
H A Dlvm.c144 if (ttisfloat(obj)) in luaV_tointegerns()
498 if (ttisfloat(r)) in LTnum()
520 if (ttisfloat(r)) in LEnum()
920 else if (ttisfloat(v1)) { \
1046 else if (ttisfloat(s2v(ra))) { \
1640 else if (ttisfloat(s2v(ra))) in luaV_execute()
H A Dllex.c252 lua_assert(ttisfloat(&obj)); in read_numeral()
H A Dltable.c671 else if (ttisfloat(key)) { in luaH_newkey()