Home
last modified time | relevance | path

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

/freebsd-13.1/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.h305 #define ttisfloat(o) checktag((o), LUA_VNUMFLT) macro
310 #define fltvalue(o) check_exp(ttisfloat(o), val_(o).n)
320 { TValue *io=(obj); lua_assert(ttisfloat(io)); val_(io).n=(x); }
H A Dlvm.c145 if (ttisfloat(obj)) in luaV_tointegerns()
497 if (ttisfloat(r)) in LTnum()
519 if (ttisfloat(r)) in LEnum()
898 else if (ttisfloat(v1)) { \
1017 else if (ttisfloat(s2v(ra))) { \
1576 else if (ttisfloat(s2v(ra))) in luaV_execute()
H A Dllex.c249 lua_assert(ttisfloat(&obj)); in read_numeral()
H A Dltable.c640 else if (ttisfloat(key)) { in luaH_newkey()