Lines Matching refs:setnvalue
259 #define setnvalue(obj,x){TValue*i_o=(obj);i_o->value.n=(x);i_o->tt=3;} macro
687 setnvalue(L->top,cast_num(va_arg(argp,int))); in luaO_pushvfstring()
692 setnvalue(L->top,cast_num(va_arg(argp,l_uacNumber))); in luaO_pushvfstring()
1405 setnvalue(key,cast_num(i+1));
1672 setnvalue(&k,cast_num(key));
3152 setnvalue(idx,cast_num(fs->nk));
3168 setnvalue(&o,r);
4693 setnvalue(n,num);
4923 case TM_ADD:setnvalue(ra,luai_numadd(nb,nc));break;
4924 case TM_SUB:setnvalue(ra,luai_numsub(nb,nc));break;
4925 case TM_MUL:setnvalue(ra,luai_nummul(nb,nc));break;
4926 case TM_DIV:setnvalue(ra,luai_numdiv(nb,nc));break;
4927 case TM_MOD:setnvalue(ra,luai_nummod(nb,nc));break;
4928 case TM_POW:setnvalue(ra,luai_numpow(nb,nc));break;
4929 case TM_UNM:setnvalue(ra,luai_numunm(nb));break;
4944 …(ttisnumber(rb)&&ttisnumber(rc)){lua_Number nb=nvalue(rb),nc=nvalue(rc);setnvalue(ra,op(nb,nc));}e…
5053 setnvalue(ra,luai_numunm(nb));
5069 setnvalue(ra,cast_num(luaH_getn(hvalue(rb))));
5073 setnvalue(ra,cast_num(tsvalue(rb)->len));
5206 setnvalue(ra,idx);
5207 setnvalue(ra+3,idx);
5222 setnvalue(ra,luai_numsub(nvalue(ra),nvalue(pstep)));
5525 setnvalue(L->top,n);
5529 setnvalue(L->top,cast_num(n));