Home
last modified time | relevance | path

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

/freebsd/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.c142 if (ttisfloat(obj)) in luaV_tointegerns()
491 if (ttisfloat(r)) in LTnum()
513 if (ttisfloat(r)) in LEnum()
912 else if (ttisfloat(v1)) { \
1038 else if (ttisfloat(s2v(ra))) { \
1639 else if (ttisfloat(s2v(ra))) in luaV_execute()
H A Dllex.c252 lua_assert(ttisfloat(&obj)); in read_numeral()
H A Dltable.c670 else if (ttisfloat(key)) { in luaH_newkey()